Guardians (Holoparasites) (#5140)

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
CrudeWax
2021-12-29 06:58:48 +03:00
committed by GitHub
parent 277f3320f5
commit 299c4be328
44 changed files with 836 additions and 7 deletions

View File

@@ -5,6 +5,7 @@ using System.Linq;
using Content.Shared.Alert;
using Content.Shared.Damage;
using Content.Shared.FixedPoint;
using Content.Shared.MobState.EntitySystems;
using Content.Shared.MobState.State;
using Robust.Shared.GameObjects;
using Robust.Shared.GameStates;
@@ -318,7 +319,6 @@ namespace Content.Shared.MobState.Components
var message = new MobStateChangedEvent(this, old, state);
entMan.EventBus.RaiseLocalEvent(Owner, message);
Dirty();
}
}

View File

@@ -111,7 +111,7 @@ namespace Content.Shared.MobState.EntitySystems
private void OnStartPullAttempt(EntityUid uid, MobStateComponent component, StartPullAttemptEvent args)
{
if(component.IsIncapacitated())
if (component.IsIncapacitated())
args.Cancel();
}
@@ -135,7 +135,7 @@ namespace Content.Shared.MobState.EntitySystems
private void OnStandAttempt(EntityUid uid, MobStateComponent component, StandAttemptEvent args)
{
if(component.IsIncapacitated())
if (component.IsIncapacitated())
args.Cancel();
}
}