1
0
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:
Zeno Rogue
2025-08-23 17:50:39 +02:00
parent 6cf374e478
commit dae3a00b67

View File

@@ -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));