1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-26 11:27:39 +00:00

arb:: converted and rulegen status is now saved in save_geometry

This commit is contained in:
Zeno Rogue
2021-07-30 12:25:17 +02:00
parent 253c5ee531
commit 0dfa361453
4 changed files with 51 additions and 8 deletions

View File

@@ -1520,7 +1520,7 @@ EX bool known() {
return rules_known_for == arb::current.name;
}
bool prepare_rules() {
EX bool prepare_rules() {
if(known()) return true;
try {
generate_rules();
@@ -1555,7 +1555,7 @@ int args() {
PHASEFROM(3);
if(prepare_rules()) {
stop_game();
set_geometry(gArbitrary);
arb::convert::activate();
start_game();
}
}