reset memory in nearer/furthest map

This commit is contained in:
Zeno Rogue 2020-01-15 22:13:06 +01:00
parent 18206fa55f
commit 8e7b2780b8
1 changed files with 1 additions and 1 deletions

View File

@ -2987,7 +2987,7 @@ int read_pattern_args() {
return 0;
}
auto ah_pattern = addHook(hooks_args, 0, read_pattern_args);
auto ah_pattern = addHook(hooks_args, 0, read_pattern_args) + addHook(clearmemory, 100, [] { patterns::computed_nearer_map.clear(); patterns::computed_furthest_map.clear(); });
#endif
}