From b29b6fd7bd3fbfab1083aaee4ab6dea1af7f7652 Mon Sep 17 00:00:00 2001 From: 1jamie Date: Sat, 15 Aug 2026 11:25:33 -0500 Subject: [PATCH] fix(save-editor): reload Data and mods if App.dataVersion differs from active session --- tools/save-editor/App.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/save-editor/App.lua b/tools/save-editor/App.lua index 260aadab..5e45e56f 100644 --- a/tools/save-editor/App.lua +++ b/tools/save-editor/App.lua @@ -146,7 +146,7 @@ function App.load(pathOverride, opts) -- the same mod set the game loads, merged into Data before the catalogs -- build, so modded species/items/moves are editable and MonOps stops -- asserting on them - if not mods then + if not mods or App.dataVersion ~= opts.version then -- One loader per editor session. A previous session leaves Data holding -- that session's merged registries (and possibly the other game's cache), -- and a second builtin registration over them collides -- "statuses