fix(menu): a save keeps the options file's lines the menu does not write #1493

Merged
NotRexed merged 2 commits from fix/ini-keep-lines into main 2026-11-10 12:17:31 +00:00
NotRexed commented 2026-11-10 05:03:21 +00:00 (Migrated from github.com)

The Insert menu rewrites hookshot_options.ini on every change. It kept only its own rows and the controls (pad_/key_), so any line written by hand was dropped at the next change in the menu, for example discord_app_id= (Discord status) or a switch a player was told to add. Now every line whose key the menu doesn't write is kept as it is.

Split out of #1471, which is closed as superseded by #1321 (native button prompts).

🤖 Generated with Claude Code

The Insert menu rewrites `hookshot_options.ini` on every change. It kept only its own rows and the controls (`pad_`/`key_`), so any line written by hand was dropped at the next change in the menu, for example `discord_app_id=` (Discord status) or a switch a player was told to add. Now every line whose key the menu doesn't write is kept as it is. Split out of #1471, which is closed as superseded by #1321 (native button prompts). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Commenting is not possible because the repository is archived.
No description provided.