Skip to content

Commit

Permalink
properly fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
TokenStyle committed Nov 26, 2024
1 parent 7500817 commit 3596401
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
3 changes: 2 additions & 1 deletion Content.Shared/Backmen/Standing/SharedLayingDownSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,8 @@ standingState.CurrentState is not StandingState.Lying ||
var args = new DoAfterArgs(EntityManager, uid, layingDown.StandingUpTime, new StandingUpDoAfterEvent(), uid)
{
BreakOnHandChange = false,
RequireCanInteract = false
RequireCanInteract = false,
Hidden = true
};

if (!_doAfter.TryStartDoAfter(args))
Expand Down
5 changes: 0 additions & 5 deletions Content.Shared/Mobs/Systems/MobStateSystem.StateMachine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,6 @@ private void ChangeState(EntityUid target, MobStateComponent component, MobState
if (oldState == MobState.Dead && HasComp<DebrainedComponent>(target))
return;

// Backmen: Laying system
if (_net.IsClient && (oldState == MobState.Dead || oldState == MobState.Critical))
return;
// Backme: Laying system

OnExitState(target, component, oldState);
component.CurrentState = newState;
OnEnterState(target, component, newState);
Expand Down
2 changes: 1 addition & 1 deletion Content.Shared/Mobs/Systems/MobStateSystem.Subscribers.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Content.Shared.Bed.Sleep;
using Content.Shared.Bed.Sleep;
using Content.Shared.Buckle.Components;
using Content.Shared.CombatMode.Pacification;
using Content.Shared.Damage.ForceSay;
Expand Down

0 comments on commit 3596401

Please sign in to comment.