Update Scene.bf

prevent crash when adding component's type is not yet tracked.
This commit is contained in:
Joseph Montanez committed 2021-05-24 10:30:04 -07:00
1 parent b68ad22764
commit 5962faf056
1 file changed
-1
-1
View File
@@ -104,7 +104,6 @@ namespace Strawberry
private void TrackComponent(Component c)
{
for (let t in Tracker.AssignmentLists[c.GetType()])
componentTracker[t].Add(c);
}