mirror of
https://github.com/Dingo-Shenanigans/ReSkate.git
synced 2026-10-18 14:25:21 +02:00
Apply and remove look at the player's own presets before the built-in ones, and loading took saved names as they were. A preset saved under a name a built-in preset took later (Hardcore now, any new one later) hid it: the built-in's button and `trainer preset apply` applied the player's preset instead, and the menu showed the name twice. When the trainer loads, such a preset is renamed to "<name> (yours)", numbered when that is taken; the applied list and the maps that apply it follow, and the log says so. Saving and loading now share one rule for which names are reserved (reserved_preset_name) and one length limit (max_preset_name). The rule and the rename live in trainer_presets.cpp, where the trainer_presets test covers them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BoGm9ocG379TYfL2WC7yks