map no longer disappears suddenly and irreparably if you scroll into the invisible region

This commit is contained in:
Zeno Rogue committed 2018-04-23 13:20:36 +02:00
1 parent f9b03013c1
commit 70bfe718ef
3 files changed
+4 -1

No files matched your search

+1
View File
@@ -1486,6 +1486,7 @@ void clearCellMemory() {
allmaps.clear();
last_cleared = NULL;
saved_distances.clear();
pd_from = NULL;
}
auto cellhooks = addHook(clearmemory, 500, clearCellMemory);