1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 07:30:26 +00:00

ray:: memory cleanup with fixed map

This commit is contained in:
Zeno Rogue 2021-02-23 05:33:35 +01:00
parent aee985f3d1
commit f1ecf0ecac

View File

@ -2108,7 +2108,8 @@ int readArgs() {
return 0; return 0;
} }
auto hook = addHook(hooks_args, 100, readArgs); auto hook = addHook(hooks_args, 100, readArgs)
+ addHook(hooks_clearmemory, 40, [] { rmap = {}; });
#endif #endif
#if CAP_CONFIG #if CAP_CONFIG