]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix thrown items not registering the tile they stop by colliding with a hard surface...
authorChubbygummibear <46236974+Chubbygummibear@users.noreply.github.com>
Tue, 14 Nov 2023 12:54:35 +0000 (04:54 -0800)
committerGitHub <noreply@github.com>
Tue, 14 Nov 2023 12:54:35 +0000 (23:54 +1100)
Content.Shared/Throwing/ThrownItemSystem.cs

index 2b16b30546b81777458cf8ce4b47bb2014a87bfa..deda47bae6b80ba4cadc7a82ba2d075c2383f13a 100644 (file)
@@ -101,6 +101,7 @@ namespace Content.Shared.Throwing
             if (TryComp<PhysicsComponent>(uid, out var physics))
             {
                 _physics.SetBodyStatus(physics, BodyStatus.OnGround);
+                _broadphase.RegenerateContacts(uid, physics);
             }
 
             if (EntityManager.TryGetComponent(uid, out FixturesComponent? manager))