Fix construction popup messages (#13470)
resolves https://github.com/space-wizards/space-station-14/issues/13333
This commit is contained in:
@@ -96,7 +96,7 @@ namespace Content.Server.Construction
|
|||||||
|
|
||||||
if (existed)
|
if (existed)
|
||||||
{
|
{
|
||||||
_popup.PopupCursor(Loc.GetString("construction-system-construct-cannot-start-another-construction"), user);
|
_popup.PopupEntity(Loc.GetString("construction-system-construct-cannot-start-another-construction"), user, user);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -221,7 +221,7 @@ namespace Content.Server.Construction
|
|||||||
|
|
||||||
if (failed)
|
if (failed)
|
||||||
{
|
{
|
||||||
_popup.PopupCursor(Loc.GetString("construction-system-construct-no-materials"), user);
|
_popup.PopupEntity(Loc.GetString("construction-system-construct-no-materials"), user, user);
|
||||||
FailCleanup();
|
FailCleanup();
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -379,7 +379,7 @@ namespace Content.Server.Construction
|
|||||||
|
|
||||||
if (_container.IsEntityInContainer(user))
|
if (_container.IsEntityInContainer(user))
|
||||||
{
|
{
|
||||||
_popup.PopupCursor(Loc.GetString("construction-system-inside-container"), user);
|
_popup.PopupEntity(Loc.GetString("construction-system-inside-container"), user, user);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -392,7 +392,7 @@ namespace Content.Server.Construction
|
|||||||
{
|
{
|
||||||
if (!set.Add(ev.Ack))
|
if (!set.Add(ev.Ack))
|
||||||
{
|
{
|
||||||
_popup.PopupCursor(Loc.GetString("construction-system-already-building"), user);
|
_popup.PopupEntity(Loc.GetString("construction-system-already-building"), user, user);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user