mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-18 05:34:30 +00:00
reset memory in nearer/furthest map
This commit is contained in:
1 parent
18206fa55f
commit
8e7b2780b8
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user