Fix tile-events returns (#37502)
* Fix tile-events returns Should really be continues. * More * More optimisations
This commit is contained in:
@@ -98,7 +98,7 @@ public sealed class ThrusterSystem : EntitySystem
|
||||
{
|
||||
// If the old tile was space but the new one isn't then disable all adjacent thrusters
|
||||
if (change.NewTile.IsSpace(_tileDefManager) || !change.OldTile.IsSpace(_tileDefManager))
|
||||
return;
|
||||
continue;
|
||||
|
||||
var tilePos = change.GridIndices;
|
||||
var grid = Comp<MapGridComponent>(uid);
|
||||
|
||||
Reference in New Issue
Block a user