mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-25 18:24:27 +00:00
refactored o_key to use in_full_game
This commit is contained in:
1 parent
207df51b8a
commit
809a911998
1 file changed
+6
-2
@@ -840,10 +840,14 @@ named_functionality get_o_key() {
|
||||
if(peace::on)
|
||||
return named_dialog(XLAT("peaceful mode"), peace::showMenu);
|
||||
|
||||
if((geometry != gNormal || NONSTDVAR) && !chaosmode && !(geometry == gEuclid && isCrossroads(specialland)) && !(weirdhyperbolic && specialland == laCrossroads4))
|
||||
dialog::infix = "";
|
||||
|
||||
if(in_full_game())
|
||||
return named_dialog(XLAT("world overview"), showOverview);
|
||||
|
||||
if(geometry != gNormal || NONSTDVAR)
|
||||
return named_functionality(XLAT("geometry experiments"), runGeometryExperiments);
|
||||
|
||||
dialog::infix = "";
|
||||
return named_dialog(XLAT("world overview"), showOverview);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user