Skip to content

feat: Track and compare migrator lists in system data - #78

Merged
patapancakes merged 2 commits into
pagefaultgames:masterfrom
emdeann:add-migrator-map
Jul 5, 2026
Merged

feat: Track and compare migrator lists in system data#78
patapancakes merged 2 commits into
pagefaultgames:masterfrom
emdeann:add-migrator-map

Conversation

@emdeann

@emdeann emdeann commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Added an AppliedMigrators field to the SystemSaveData struct, mirroring the changes in pagefaultgames/pokerogue#7481.

If the old data has any migrators stored which the new data has a different timestamp for (or none at all), the save is rejected. Saves with no migrators stored will have an empty map, in which case the check is effectively a no-op and returns true.

@DayKev

This comment was marked as resolved.

@patapancakes
patapancakes merged commit 0cf149a into pagefaultgames:master Jul 5, 2026
3 checks passed
DayKev added a commit to DayKev/rogueserver that referenced this pull request Jul 5, 2026
)

* Track and compare migrator lists in system data

* Add migrator check to other save function

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants