Fix mob throwing (#9775)
This commit is contained in:
parent
96f0a9fc4c
commit
4e16efc37f
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ public sealed class ThrowingSystem : EntitySystem
|
|||
if (physics == null && !physicsQuery.Value.TryGetComponent(uid, out physics))
|
||||
return;
|
||||
|
||||
if (physics.BodyType != BodyType.Dynamic)
|
||||
if ((physics.BodyType & (BodyType.Dynamic | BodyType.KinematicController)) == 0x0)
|
||||
{
|
||||
Logger.Warning($"Tried to throw entity {ToPrettyString(uid)} but can't throw {physics.BodyType} bodies!");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue