fixed a crash bug when enabling an irregular tiling multiple times

This commit is contained in:
Zeno Rogue 2018-08-05 14:08:52 +02:00
parent d9dc6a43df
commit 31b75bd2bd
1 changed files with 2 additions and 0 deletions

View File

@ -872,6 +872,8 @@ bool load_map(const string &fname) {
}
void cancel_map_creation() {
base = NULL;
runlevel = 0;
popScreen();
gridmaking = false;
stop_game();