mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 16:07:11 +00:00
correctly remove Clearing score memory
This commit is contained in:
1 parent
b4b325e009
commit
ddc3666fb4
1 file changed
+1
@@ -3393,6 +3393,7 @@ auto ccm = addHook(clearmemory, 0, [] () {
|
||||
gd->store(elec::afterOrb);
|
||||
}) +
|
||||
addHook(hooks_removecells, 0, [] () {
|
||||
for(cell *c: removed_cells) clearing::score.erase(c);
|
||||
eliminate_if(heat::offscreen_heat, is_cell_removed);
|
||||
eliminate_if(heat::offscreen_fire, is_cell_removed);
|
||||
eliminate_if(princess::infos, [] (princess::info*& i) {
|
||||
|
||||
Reference in new issue
Block a user