fix(rynthai): keep pet refill, monster blacklist and radar placement on profile load

Loading a profile (login, profile switch) copies the file into the live settings
field by field in CopySettings, which had no line for PetAutoRefill,
MonsterNameBlacklist or RadarPosX/Y / RadarSizeX/Y. The defaults stayed in memory
and the next autosave wrote them over the profile. Copy them, and add
ProfileLoadTests, which fails for any serialized field CopySettings leaves out.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
BlankenshipG 2026-10-08 22:41:10 -04:00
commit a86883e781
4 changed files with 172 additions and 1 deletions

View file

@ -86,6 +86,7 @@ internal static class Program
HazardEscapeTests.Register(runner);
ManaStoneChoiceTests.Register(runner);
CustomDebuffTests.Register(runner);
ProfileLoadTests.Register(runner);
return runner.Run("RynthAi host tests", args.Length > 0 ? args[0] : null);
}
}