]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Target Dummies Now Show Damage Numbers from Projectiles to User (#40101)
authorProle <172158352+Prole0@users.noreply.github.com>
Tue, 23 Sep 2025 17:20:46 +0000 (10:20 -0700)
committerGitHub <noreply@github.com>
Tue, 23 Sep 2025 17:20:46 +0000 (10:20 -0700)
* Uh, guess this works for now

* Review Change

Content.Shared/Damage/Systems/DamagePopupSystem.cs

index 83cd551279e29d457c2d05a1e7d17480c35a2a18..fa29b5a0187fdfe031470058b9ee65eca23e7be1 100644 (file)
@@ -31,7 +31,8 @@ public sealed class DamagePopupSystem : EntitySystem
                 _ => "Invalid type",
             };
 
-            _popupSystem.PopupPredicted(msg, ent.Owner, args.Origin);
+            // Turn this back into (msg, ent.Owner, args.Origin) when shooting gets predicted.
+            _popupSystem.PopupPredicted(msg, ent.Owner, null);
         }
     }