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:
@@ -71,7 +71,7 @@ public sealed class SpaceHeaterSystem : EntitySystem
|
||||
// If in automatic temperature mode, check if we need to adjust the heat exchange direction
|
||||
if (spaceHeater.Mode == SpaceHeaterMode.Auto)
|
||||
{
|
||||
var environment = _atmosphereSystem.GetContainingMixture(uid);
|
||||
var environment = _atmosphereSystem.GetContainingMixture(uid, args.Grid, args.Map);
|
||||
if (environment == null)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user