mirror of
https://github.com/MaddyThorson/StrawberryBF.git
synced 2025-05-07 09:26:04 +08:00
Update Scene.bf
prevent crash when adding component's type is not yet tracked.
This commit is contained in:
parent
b68ad22764
commit
5962faf056
@ -104,7 +104,6 @@ namespace Strawberry
|
||||
|
||||
private void TrackComponent(Component c)
|
||||
{
|
||||
for (let t in Tracker.AssignmentLists[c.GetType()])
|
||||
componentTracker[t].Add(c);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user