]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Crawling Bugfix: Don't drop items when falling. (#39168)
authorPrincess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com>
Wed, 23 Jul 2025 20:24:21 +0000 (13:24 -0700)
committerGitHub <noreply@github.com>
Wed, 23 Jul 2025 20:24:21 +0000 (22:24 +0200)
Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
Content.Shared/Stunnable/SharedStunSystem.cs

index 4c4523849bae82b8254d8b9c4f3fb69c793bec7d..199afcabf240485cc842cdc232caf67f73eb3b42 100644 (file)
@@ -199,12 +199,12 @@ public abstract partial class SharedStunSystem : EntitySystem
             drop = evAttempt.Drop;
         }
 
-        Knockdown(entity!, time, autoStand, drop);
+        Knockdown(entity!, time, refresh, autoStand, drop);
 
         return true;
     }
 
-    private void Knockdown(Entity<StandingStateComponent> entity, TimeSpan? time, bool refresh, bool autoStand = true, bool drop = true)
+    private void Knockdown(Entity<StandingStateComponent> entity, TimeSpan? time, bool refresh, bool autoStand, bool drop)
     {
         // Initialize our component with the relevant data we need if we don't have it
         if (EnsureComp<KnockedDownComponent>(entity, out var component))