mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-10-31 19:36:16 +00:00
correctly remove Clearing score memory
This commit is contained in:
parent
b4b325e009
commit
ddc3666fb4
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user