Update Scene.bf

prevent crash when adding component's type is not yet tracked.
This commit is contained in:
Joseph Montanez 2021-05-24 10:30:04 -07:00
parent b68ad22764
commit 5962faf056

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);
}