]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Resolves Bible summon message being sent to all users (#28104)
authordouble_b <40827162+benjamin-burges@users.noreply.github.com>
Sat, 18 May 2024 14:23:16 +0000 (14:23 +0000)
committerGitHub <noreply@github.com>
Sat, 18 May 2024 14:23:16 +0000 (10:23 -0400)
* Changed PopupEntity overload used to ensure message is only sent to user

* Updated uid for PopupEntity call

* Updating _popupSystem.PopupEntity call in AttemptSummon

Content.Server/Bible/BibleSystem.cs

index c845b17230a4a756c18cb4a8a004fddb92cdf464..0c60e40dacb001b9560f899ba8638fe5d9ccdfe4 100644 (file)
@@ -241,7 +241,7 @@ namespace Content.Server.Bible
             // If this is going to use a ghost role mob spawner, attach it to the bible.
             if (HasComp<GhostRoleMobSpawnerComponent>(familiar))
             {
-                _popupSystem.PopupEntity(Loc.GetString("bible-summon-requested"), user, PopupType.Medium);
+                _popupSystem.PopupEntity(Loc.GetString("bible-summon-requested"), user, user, PopupType.Medium);
                 _transform.SetParent(familiar, uid);
             }
             component.AlreadySummoned = true;