mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-22 01:17:39 +00:00
clear memory correctly in wfc
This commit is contained in:
@@ -286,6 +286,8 @@ auto wfc_hook =
|
|||||||
return 0;
|
return 0;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
auto cgm = addHook(clearmemory, 40, [] () { centers.clear(); }) + addHook(hooks_removecells, 0, [] () { eliminate_if(centers, is_cell_removed); });
|
||||||
|
|
||||||
EX }
|
EX }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user