Atmos device performance improvements (#26493)
* Atmos device performance improvements * AtmosDirection perf improvements * Fix errors * Add GasTileOverlayComponent arguments * Make excite no longer invalidate a tile
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Content.Server.Atmos.EntitySystems
|
||||
if (!directions.IsFlagSet(direction))
|
||||
continue;
|
||||
|
||||
var adjacent = tile.AdjacentTiles[direction.ToIndex()];
|
||||
var adjacent = tile.AdjacentTiles[i];
|
||||
|
||||
// TODO ATMOS handle adjacent being null.
|
||||
if (adjacent == null || adjacent.ThermalConductivity == 0f)
|
||||
|
||||
Reference in New Issue
Block a user