ECS Atmos Part 5: Moves all logic from GridAtmosphereComponent to AtmosphereSystem. (#4331)
This commit is contained in:
committed by
GitHub
parent
354ef6daf3
commit
4112847142
@@ -58,7 +58,7 @@ namespace Content.Server.Atmos.EntitySystems
|
||||
|
||||
private void ConsiderPressureDifference(GridAtmosphereComponent gridAtmosphere, TileAtmosphere tile, TileAtmosphere other, float difference)
|
||||
{
|
||||
gridAtmosphere.AddHighPressureDelta(tile);
|
||||
gridAtmosphere.HighPressureDelta.Add(tile);
|
||||
if (difference > tile.PressureDifference)
|
||||
{
|
||||
tile.PressureDifference = difference;
|
||||
|
||||
Reference in New Issue
Block a user