mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
fixed crash on kill setting change
This commit is contained in:
parent
9e999ef30f
commit
73e98644d3
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user