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:
parent
0daf0a44a3
commit
a86883e781
4 changed files with 172 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue