Fixes conveyor belts enabling collisions of opened blast doors when turning on (#11727)

This commit is contained in:
Francesco
2022-10-11 09:28:47 +02:00
committed by GitHub
parent ad64d0330c
commit 302d9555e2

View File

@@ -153,10 +153,13 @@ namespace Content.Server.Physics.Controllers
if (!bodyQuery.TryGetComponent(entity, out var physics)) if (!bodyQuery.TryGetComponent(entity, out var physics))
continue; continue;
if (physics.BodyType != BodyType.Static)
{
_physics.WakeBody(physics); _physics.WakeBody(physics);
} }
} }
} }
}
public bool CanRun(ConveyorComponent component) public bool CanRun(ConveyorComponent component)
{ {