mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-19 15:20:27 +00:00
refactored o_key to use in_full_game
This commit is contained in:
parent
207df51b8a
commit
809a911998
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user