Removed old Loc.GetString() use instances (#4155)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System.Threading.Tasks;
|
||||
using System.Threading.Tasks;
|
||||
using Content.Server.GameObjects.Components;
|
||||
using Content.Server.Wires.Components;
|
||||
using Content.Shared.Construction;
|
||||
@@ -30,10 +30,10 @@ namespace Content.Server.Construction.Conditions
|
||||
switch (Open)
|
||||
{
|
||||
case true when !wires.IsPanelOpen:
|
||||
message.AddMarkup(Loc.GetString("First, open the maintenance panel.\n"));
|
||||
message.AddMarkup(Loc.GetString("construction-condition-wire-panel-open") + "\n");
|
||||
return true;
|
||||
case false when wires.IsPanelOpen:
|
||||
message.AddMarkup(Loc.GetString("First, close the maintenance panel.\n"));
|
||||
message.AddMarkup(Loc.GetString("construction-condition-wire-panel-close") + "\n");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user