1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-28 11:00:34 +00:00

clear memory correctly in wfc

This commit is contained in:
Zeno Rogue 2020-03-11 09:53:10 +01:00
parent bbf942ce56
commit 28f8412604

View File

@ -286,6 +286,8 @@ auto wfc_hook =
return 0;
});
auto cgm = addHook(clearmemory, 40, [] () { centers.clear(); }) + addHook(hooks_removecells, 0, [] () { eliminate_if(centers, is_cell_removed); });
EX }
}