Skip to content

Commit

Permalink
Only allow quickload from debug menu (CleverRaven#63767)
Browse files Browse the repository at this point in the history
* Disable quickload in non-debug builds

Quickloading was never intended to be a non-debug feature, but by
enabling the keybind outside of debug builds, it was effectively made
so.
Fix that.
  • Loading branch information
anothersimulacrum authored Feb 25, 2023
1 parent 98ccdc6 commit 7bd6a5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2408,7 +2408,9 @@ input_context get_default_mode_input_context()
ctxt.register_action( "workout" );
ctxt.register_action( "save" );
ctxt.register_action( "quicksave" );
#if !defined(RELEASE)
ctxt.register_action( "quickload" );
#endif
ctxt.register_action( "SUICIDE" );
ctxt.register_action( "player_data" );
ctxt.register_action( "map" );
Expand Down

0 comments on commit 7bd6a5f

Please sign in to comment.