Fix atmos NaN error (#26441)
* Fix atmos NAN error * Remove redundant yaml entries
This commit is contained in:
@@ -85,8 +85,6 @@ namespace Content.Server.Atmos.EntitySystems
|
||||
private bool AirtightMove(Entity<AirtightComponent> ent, ref MoveEvent ev)
|
||||
{
|
||||
var (owner, airtight) = ent;
|
||||
if (!airtight.RotateAirBlocked || airtight.InitialAirBlockedDirection == (int)AtmosDirection.Invalid)
|
||||
return false;
|
||||
|
||||
airtight.CurrentAirBlockedDirection = (int) Rotate((AtmosDirection)airtight.InitialAirBlockedDirection, ev.NewRotation);
|
||||
var pos = airtight.LastPosition;
|
||||
|
||||
Reference in New Issue
Block a user