forked from mirror/DotRecast
Compare commits
2 Commits
0876d3adcf
...
2cf9d9de18
Author | SHA1 | Date |
---|---|---|
wrenge | 2cf9d9de18 | |
wrenge | d2082c6586 |
|
@ -80,6 +80,7 @@ namespace DotRecast.Detour.Crowd
|
||||||
if (!_items.TryGetValue(key, out var ids))
|
if (!_items.TryGetValue(key, out var ids))
|
||||||
{
|
{
|
||||||
ids = _listPool.Get();
|
ids = _listPool.Get();
|
||||||
|
ids.Clear();
|
||||||
_items.Add(key, ids);
|
_items.Add(key, ids);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue