From 478be692decc267a1a19dbe9586e8cdf4e74ec50 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 29 May 2024 13:51:20 +0200 Subject: [PATCH] do not exit on sfc if save not even loaded --- config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.cpp b/config.cpp index 86cb0b40..55adc4f2 100644 --- a/config.cpp +++ b/config.cpp @@ -3397,7 +3397,7 @@ EX int config3 = addHook(hooks_configfile, 100, [] { "How wide should the cell boundaries be.", '0'); param_b(vid.gp_autoscale_heights, "3D Goldberg autoscaling", true); auto scf = param_str(scorefile, "savefile"); - scf->be_non_editable(); scf->reaction = [] { exit(1); }; + scf->be_non_editable(); scf->reaction = [] { if(save_loaded) exit(1); }; param_b(savefile_selection, "savefile_selection") -> editable("select the score/save file on startup", 's') -> set_reaction([] {