Port settings and automation to the Modern UI (by Codex)
This commit is contained in:
1 parent
8222926d9c
commit
adb4166a80
26 files changed
+2734
-179
No files matched your search
@@ -553,6 +553,8 @@ int main(int argc, char **argv) try {
|
||||
require(restored_sports.snapshot().state == sports.snapshot().state,
|
||||
"Training/tactics were lost on restoration");
|
||||
auto legacy = Json::parse(bmh::editor::read_file(root / "sports.ui.json"));
|
||||
// A checkpoint predating training also predates the aggregate settings block.
|
||||
legacy.erase("settings");
|
||||
legacy.erase("training");
|
||||
legacy.erase("tactics");
|
||||
legacy.erase("calendar");
|
||||
|
||||
Reference in new issue
Block a user