1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-19 09:30:31 +00:00

dual:: added some missing gd->store's

This commit is contained in:
Zeno Rogue
2019-05-30 16:12:38 +02:00
parent 31bb896089
commit a49de4530f
7 changed files with 31 additions and 6 deletions

View File

@@ -189,7 +189,8 @@ namespace brownian {
vector<cell*> to_remove;
for(auto p: futures) if(is_cell_removed(p.first)) to_remove.push_back(p.first);
for(auto r: to_remove) futures.erase(r);
}) + addHook(clearmemory, 0, [] () { futures.clear(); });
}) + addHook(clearmemory, 0, [] () { futures.clear(); })
+ addHook(hooks_gamedata, 0, [] (gamedata* gd) { gd->store(futures); });
}