mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-02 02:37:55 +00:00
intra:: fixed the bug with walking mode VR hotkey
This commit is contained in:
@@ -1208,7 +1208,7 @@ auto a = addHook(hooks_configfile, 100, [] {
|
|||||||
})
|
})
|
||||||
+ addHook(vrhr::vr_quickmenu_extensions, 105, [] {
|
+ addHook(vrhr::vr_quickmenu_extensions, 105, [] {
|
||||||
if(!intra::in) return;
|
if(!intra::in) return;
|
||||||
dialog::addBoolItem("walking mode", 'w', on);
|
dialog::addBoolItem("walking mode", on, 'w');
|
||||||
dialog::add_action([] {
|
dialog::add_action([] {
|
||||||
switch_walking();
|
switch_walking();
|
||||||
println(hlog, "walking set to ", ONOFF(on));
|
println(hlog, "walking set to ", ONOFF(on));
|
||||||
|
Reference in New Issue
Block a user