mirror of
https://github.com/MaddyThorson/StrawberryBF.git
synced 2025-12-15 13:27:06 +08:00
Moved Entity <=> operator for now since it was breaking list remove
This commit is contained in:
@ -97,8 +97,6 @@ namespace Strawberry
|
||||
{
|
||||
for (let e in toRemove)
|
||||
{
|
||||
Calc.Log(scope => e.GetType().GetName);
|
||||
|
||||
entities.Remove(e);
|
||||
UntrackEntity(e);
|
||||
e.[Friend]Removed();
|
||||
@ -117,6 +115,8 @@ namespace Strawberry
|
||||
TrackEntity(e);
|
||||
e.[Friend]Added(this);
|
||||
}
|
||||
|
||||
entities.Sort(scope => Entity.Compare);
|
||||
}
|
||||
|
||||
for (let e in entities)
|
||||
|
||||
Reference in New Issue
Block a user