mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-07 11:52:51 +00:00
fix to RELHELL standalone
This commit is contained in:
parent
878ee0c275
commit
f642db223b
@ -370,18 +370,28 @@ auto shot_hooks =
|
||||
#ifdef RELHELL
|
||||
auto hook1=
|
||||
addHook(hooks_config, 100, [] {
|
||||
default_settings();
|
||||
if(arg::curphase == 1) {
|
||||
conffile = "relhell.ini";
|
||||
}
|
||||
if(arg::curphase == 2) {
|
||||
set_config();
|
||||
enable_canvas();
|
||||
if(arg::curphase == 1)
|
||||
conffile = "relhell.ini";
|
||||
if(arg::curphase == 3) { showstartmenu = false; popScreenAll(); pushScreen(pick_the_game); }
|
||||
}
|
||||
if(arg::curphase == 3) {
|
||||
showstartmenu = false;
|
||||
popScreenAll();
|
||||
pushScreen(pick_the_game);
|
||||
}
|
||||
});
|
||||
|
||||
#else
|
||||
auto hook2 = addHook(hooks_configfile, 300, default_settings);
|
||||
#endif
|
||||
|
||||
auto hook2 = addHook(hooks_configfile, 300, default_settings)
|
||||
+ arg::add3("-relhell", [] {
|
||||
set_config();
|
||||
enable_canvas();
|
||||
showstartmenu = false; popScreenAll(); pushScreen(pick_the_game);
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user