1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-01 18:27:55 +00:00

rulegen3:: fixes

This commit is contained in:
Zeno Rogue
2022-08-26 13:21:36 +02:00
parent 9f1480d21e
commit e70f3d1fe6
2 changed files with 6 additions and 2 deletions

View File

@@ -1723,9 +1723,10 @@ int readRuleArgs3() {
}
else if(argis("-load-honeycomb")) {
PHASE(3);
stop_game();
string s = args();
shift(); reg3::replace_rule_file = s;
shift(); string s = args();
reg3::replace_rule_file = s;
shstream ins(decompress_string(read_file_as_string(s)));
ins.read(ins.vernum);
mapstream::load_geometry(ins);