]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix chatty zombies (#16139)
authorNemanja <98561806+EmoGarbage404@users.noreply.github.com>
Sat, 6 May 2023 04:18:55 +0000 (00:18 -0400)
committerGitHub <noreply@github.com>
Sat, 6 May 2023 04:18:55 +0000 (14:18 +1000)
Content.Server/Zombies/ZombifyOnDeathSystem.cs

index 3d9be04755327dcf38d38483e2b8f17b8465ec6c..e5830614a897c235b217fd55cf9ff9d19aceffb5 100644 (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);