fix: universe finalize not working properly
This commit is contained in:
parent
0205354202
commit
a31b39fd1d
@ -121,7 +121,7 @@ public class Universe : BaseEntity, IUniverse
|
||||
{
|
||||
base.FinalizeInternal();
|
||||
for (int i = UniverseObjects.Count - 1; i >= 0; i--)
|
||||
UniverseObjects[i].Finalize();
|
||||
Remove(UniverseObjects[i]);
|
||||
}
|
||||
|
||||
public void Update(UniverseTime engineTime)
|
||||
|
Loading…
x
Reference in New Issue
Block a user