Entity.All tweak

This commit is contained in:
Maddy Thorson 2021-02-10 22:16:55 -08:00
parent 671e25f7ce
commit ed35a605fc

View File

@ -75,7 +75,7 @@ namespace Strawberry
return null; return null;
} }
public List<T> All<T>(List<T> into) where T : Component public ICollection<T> All<T>(ICollection<T> into) where T : Component
{ {
for (let c in components) for (let c in components)
if (c is T) if (c is T)