fixed crash on kill setting change

This commit is contained in:
Zeno Rogue 2023-08-15 20:28:06 +02:00
parent 9e999ef30f
commit 73e98644d3
1 changed files with 2 additions and 2 deletions

View File

@ -1072,11 +1072,11 @@ EX void initConfig() {
param_b(less_in_landscape, "less_in_landscape", false)
->editable("less items/kills in landscape", 'L')
-> set_sets([] { dialog::get_di().reaction_final = [] { println(hlog, "Reset"); vid.killreduction = 0; }; });
-> set_reaction([] { vid.killreduction = 0; });
param_b(less_in_portrait, "less_in_portrait", false)
->editable("less items/kills in portrait", 'P')
-> set_sets([] { dialog::get_di().reaction_final = [] { println(hlog, "Reset"); vid.killreduction = 0; }; });
-> set_reaction([] { vid.killreduction = 0; });
// basic graphics