Remove obsolete transform call (#24217)
* Remove obsolete transform call Shrimple PR also fixed bad flatpack call that would break on non-standard tilesizes. * Update calls * weh
This commit is contained in:
@@ -377,9 +377,9 @@ public abstract class SharedAnomalySystem : EntitySystem
|
||||
|
||||
var physQuery = GetEntityQuery<PhysicsComponent>();
|
||||
var resultList = new List<TileRef>();
|
||||
while (resultList.Count() < amount)
|
||||
while (resultList.Count < amount)
|
||||
{
|
||||
if (tilerefs.Count() == 0)
|
||||
if (tilerefs.Count == 0)
|
||||
break;
|
||||
|
||||
var tileref = _random.Pick(tilerefs);
|
||||
@@ -414,6 +414,7 @@ public abstract class SharedAnomalySystem : EntitySystem
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
resultList.Add(tileref);
|
||||
}
|
||||
return resultList;
|
||||
|
||||
Reference in New Issue
Block a user