PopupSystem public methods rejig (#12830)

This commit is contained in:
Leon Friedrich
2022-12-19 10:41:47 +13:00
committed by GitHub
parent e459452333
commit 881a2b2ece
164 changed files with 721 additions and 631 deletions

View File

@@ -96,7 +96,7 @@ namespace Content.Server.Construction
if (existed)
{
_popup.PopupCursor(Loc.GetString("construction-system-construct-cannot-start-another-construction"), Filter.Entities(user));
_popup.PopupCursor(Loc.GetString("construction-system-construct-cannot-start-another-construction"), user);
return null;
}
@@ -221,7 +221,7 @@ namespace Content.Server.Construction
if (failed)
{
_popup.PopupCursor(Loc.GetString("construction-system-construct-no-materials"), Filter.Entities(user));
_popup.PopupCursor(Loc.GetString("construction-system-construct-no-materials"), user);
FailCleanup();
return null;
}
@@ -379,7 +379,7 @@ namespace Content.Server.Construction
if (_container.IsEntityInContainer(user))
{
_popup.PopupCursor(Loc.GetString("construction-system-inside-container"), Filter.Entities(user));
_popup.PopupCursor(Loc.GetString("construction-system-inside-container"), user);
return;
}
@@ -392,7 +392,7 @@ namespace Content.Server.Construction
{
if (!set.Add(ev.Ack))
{
_popup.PopupCursor(Loc.GetString("construction-system-already-building"), Filter.Entities(user));
_popup.PopupCursor(Loc.GetString("construction-system-already-building"), user);
return;
}
}