]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix initial infected icon hiding (#26585)
authorWrexbe (Josh) <81056464+wrexbe@users.noreply.github.com>
Sun, 31 Mar 2024 01:20:45 +0000 (18:20 -0700)
committerGitHub <noreply@github.com>
Sun, 31 Mar 2024 01:20:45 +0000 (12:20 +1100)
Content.Client/Zombies/ZombieSystem.cs

index 7c1fb38e7441a820b7fcf35c0356fb02531aa0fa..49b5d6aec184e4c53812dbdf8cd1ab076bd20e3f 100644 (file)
@@ -46,7 +46,7 @@ public sealed class ZombieSystem : EntitySystem
         args.Cancelled = true;
     }
 
-    private void OnCanDisplayStatusIcons(EntityUid uid, InitialInfectedComponent component, CanDisplayStatusIconsEvent args)
+    private void OnCanDisplayStatusIcons(EntityUid uid, InitialInfectedComponent component, ref CanDisplayStatusIconsEvent args)
     {
         if (HasComp<InitialInfectedComponent>(args.User) && !HasComp<ZombieComponent>(args.User))
             return;