add 'tempKeys' field to OptionsType.options_type, so that any key binding changes in the menu do not take immediate effect (requires pressing 'save button' in order for changes to be saved and take effect)

This commit is contained in:
2025-02-21 18:18:39 +00:00
parent abcbc030e1
commit e1fb4004dd
3 changed files with 29 additions and 9 deletions

View File

@@ -24,8 +24,9 @@ struct
let
val mode =
if #attackHeld input then
(* placeholder: go to configure screen instead once that is implemented *)
GameType.OPTIONS OptionsType.initial
let val options = OptionsType.init userKeys
in GameType.OPTIONS options
end
else
let
val titleState =