mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 15:00:26 +00:00
fixed a crash on loading saved maps
This commit is contained in:
parent
1ad5c422fc
commit
9565ce198f
@ -528,7 +528,7 @@ namespace mapstream {
|
||||
if(ds == 1 && dual::state == 0) dual::enable();
|
||||
if(ds == 0 && dual::state == 1) dual::disable();
|
||||
dual::split_or_do([&] { load_only_map(f); });
|
||||
dual::assign_landsides();
|
||||
if(dual::state) dual::assign_landsides();
|
||||
if(f.vernum >= 0xA61A)
|
||||
load_usershapes(f);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user