1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 06:50:27 +00:00

fixed a crash on loading saved maps

This commit is contained in:
Zeno Rogue 2019-08-02 17:58:00 +02:00
parent 1ad5c422fc
commit 9565ce198f

View File

@ -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;