Damage masks (#9402)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
using System.Linq;
|
||||
using Content.Server.AI.Components;
|
||||
using Content.Server.MobState.States;
|
||||
using Content.Shared.CCVar;
|
||||
using Content.Shared.MobState;
|
||||
using JetBrains.Annotations;
|
||||
@@ -121,11 +120,11 @@ namespace Content.Server.AI.EntitySystems
|
||||
{
|
||||
switch (args.CurrentMobState)
|
||||
{
|
||||
case NormalMobState:
|
||||
case DamageState.Alive:
|
||||
component.Awake = true;
|
||||
break;
|
||||
case CriticalMobState:
|
||||
case DeadMobState:
|
||||
case DamageState.Critical:
|
||||
case DamageState.Dead:
|
||||
component.Awake = false;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user