Resolves Bible summon message being sent to all users (#28104)
* Changed PopupEntity overload used to ensure message is only sent to user * Updated uid for PopupEntity call * Updating _popupSystem.PopupEntity call in AttemptSummon
This commit is contained in:
@@ -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 this is going to use a ghost role mob spawner, attach it to the bible.
|
||||||
if (HasComp<GhostRoleMobSpawnerComponent>(familiar))
|
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);
|
_transform.SetParent(familiar, uid);
|
||||||
}
|
}
|
||||||
component.AlreadySummoned = true;
|
component.AlreadySummoned = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user