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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

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