mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
Crawling Bugfix: Don't drop items when falling. (#39168)
Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
This commit is contained in:
parent
de22bd82bb
commit
291f919e8e
1 changed files with 2 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue