Fix actions not being usable, ordering, and containers (#19964)
This commit is contained in:
@@ -105,8 +105,8 @@ namespace Content.Server.Zombies
|
||||
|
||||
//This is needed for stupid entities that fuck up combat mode component
|
||||
//in an attempt to make an entity not attack. This is the easiest way to do it.
|
||||
RemComp<CombatModeComponent>(target);
|
||||
var combat = AddComp<CombatModeComponent>(target);
|
||||
var combat = EnsureComp<CombatModeComponent>(target);
|
||||
_combat.SetCanDisarm(target, false, combat);
|
||||
_combat.SetInCombatMode(target, true, combat);
|
||||
|
||||
//This is the actual damage of the zombie. We assign the visual appearance
|
||||
|
||||
Reference in New Issue
Block a user