Fix pressure difference direction being incorrect.
This commit is contained in:
@@ -598,7 +598,7 @@ namespace Content.Server.Atmos
|
|||||||
if (difference > PressureDifference)
|
if (difference > PressureDifference)
|
||||||
{
|
{
|
||||||
PressureDifference = difference;
|
PressureDifference = difference;
|
||||||
_pressureDirection = ((Vector2i) (tile.GridIndices - GridIndices)).GetCardinalDir();
|
_pressureDirection = ((Vector2i) (GridIndices - tile.GridIndices)).GetCardinalDir();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user