From 4e16efc37f19c4a9d6efc0a14e077bdbababe04f Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Sat, 16 Jul 2022 13:04:14 +1000 Subject: [PATCH] Fix mob throwing (#9775) --- Content.Shared/Throwing/ThrowingSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/Throwing/ThrowingSystem.cs b/Content.Shared/Throwing/ThrowingSystem.cs index d049ee013e..320924a1cb 100644 --- a/Content.Shared/Throwing/ThrowingSystem.cs +++ b/Content.Shared/Throwing/ThrowingSystem.cs @@ -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;