Fix chatty zombies (#16139)

This commit is contained in:
Nemanja
2023-05-06 00:18:55 -04:00
committed by GitHub
parent ee1aeeaf00
commit 2821149149

View File

@@ -107,6 +107,9 @@ namespace Content.Server.Zombies
RemComp<HungerComponent>(target);
RemComp<ThirstComponent>(target);
//funny voice
EnsureComp<ReplacementAccentComponent>(target).Accent = "zombie";
//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);