From: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com>
Date: Wed, 27 Aug 2025 20:43:55 +0000 (-0700)
Subject: [Cleanup] Remove FellDownEvent (#39762)
X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=63f38558ca88d527dc99d7f84b8618783aea0fb7;p=space-station-14.git
[Cleanup] Remove FellDownEvent (#39762)
* Remove
* Better description maybe
---------
Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
---
diff --git a/Content.Server/Hands/Systems/HandsSystem.cs b/Content.Server/Hands/Systems/HandsSystem.cs
index 0f7b6ce3f9..4d47ea4a78 100644
--- a/Content.Server/Hands/Systems/HandsSystem.cs
+++ b/Content.Server/Hands/Systems/HandsSystem.cs
@@ -201,9 +201,6 @@ namespace Content.Server.Hands.Systems
var holderVelocity = _physicsQuery.TryComp(entity, out var physics) ? physics.LinearVelocity : Vector2.Zero;
var spreadMaxAngle = Angle.FromDegrees(DropHeldItemsSpread);
- var fellEvent = new FellDownEvent(entity);
- RaiseLocalEvent(entity, fellEvent);
-
foreach (var hand in entity.Comp.Hands.Keys)
{
if (!TryGetHeldItem(entity.AsNullable(), hand, out var heldEntity))
diff --git a/Content.Shared/Standing/StandingStateSystem.cs b/Content.Shared/Standing/StandingStateSystem.cs
index ffe8f2c156..e7bd9e5f58 100644
--- a/Content.Shared/Standing/StandingStateSystem.cs
+++ b/Content.Shared/Standing/StandingStateSystem.cs
@@ -243,22 +243,8 @@ public sealed class DownedEvent : EntityEventArgs, IInventoryRelayEvent
}
///
-/// Raised after an entity falls down.
-///
-public sealed class FellDownEvent : EntityEventArgs
-{
- public EntityUid Uid { get; }
-
- public FellDownEvent(EntityUid uid)
- {
- Uid = uid;
- }
-}
-
-///
-/// Raised on the entity being thrown due to the holder falling down.
+/// Raised on an inhand entity being held by an entity who is dropping items as part of an attempted state change to down.
+/// If cancelled the inhand entity will not be dropped.
///
[ByRefEvent]
public record struct FellDownThrowAttemptEvent(EntityUid Thrower, bool Cancelled = false);
-
-