Removed old Loc.GetString() use instances (#4155)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
This commit is contained in:
@@ -98,7 +98,7 @@ namespace Content.Server.Construction
|
||||
|
||||
if (existed)
|
||||
{
|
||||
user.PopupMessageCursor(Loc.GetString("You can't start another construction now!"));
|
||||
user.PopupMessageCursor(Loc.GetString("construction-system-construct-cannot-start-another-construction"));
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -222,7 +222,7 @@ namespace Content.Server.Construction
|
||||
|
||||
if (failed)
|
||||
{
|
||||
user.PopupMessageCursor(Loc.GetString("You don't have the materials to build that!"));
|
||||
user.PopupMessageCursor(Loc.GetString("construction-system-construct-no-materials"));
|
||||
FailCleanup();
|
||||
return null;
|
||||
}
|
||||
@@ -374,7 +374,7 @@ namespace Content.Server.Construction
|
||||
{
|
||||
if (!set.Add(ev.Ack))
|
||||
{
|
||||
user.PopupMessageCursor(Loc.GetString("You are already building that!"));
|
||||
user.PopupMessageCursor(Loc.GetString("construction-system-already-building"));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user