Port settings and automation to the Modern UI (by Codex)

This commit is contained in:
Codex committed 2026-10-25 21:36:18 +01:00
1 parent 8222926d9c
commit adb4166a80
26 files changed
+2734 -179

No files matched your search

+2
View File
@@ -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");