Compare commits
1 Commits
832514ba7d
...
6b9020bd24
Author | SHA1 | Date | |
---|---|---|---|
6b9020bd24 |
@@ -41,7 +41,10 @@ public class UpdateManager : UniverseObject
|
||||
private void OnPreUpdate(IUniverse sender, UniverseTime engineTime)
|
||||
{
|
||||
for (int i = toCallFirstFrameUpdates.Count - 1; i >= 0; i--)
|
||||
{
|
||||
toCallFirstFrameUpdates[i].FirstActiveFrame();
|
||||
toCallFirstFrameUpdates.RemoveAt(i);
|
||||
}
|
||||
|
||||
for (int i = preUpdateEntities.Behaviours.Count - 1; i >= 0; i--)
|
||||
preUpdateEntities.Behaviours[i].PreUpdate();
|
||||
|
Reference in New Issue
Block a user