aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS_TheReturn')
-rw-r--r--ShiftOS_TheReturn/CommandParser.cs3
-rw-r--r--ShiftOS_TheReturn/Commands.cs2
2 files changed, 1 insertions, 4 deletions
diff --git a/ShiftOS_TheReturn/CommandParser.cs b/ShiftOS_TheReturn/CommandParser.cs
index 7a190df..868d27a 100644
--- a/ShiftOS_TheReturn/CommandParser.cs
+++ b/ShiftOS_TheReturn/CommandParser.cs
@@ -98,8 +98,6 @@ namespace ShiftOS.Engine
int firstValuePos = -1;
int lastValuePos = -1;
- string syntaxError = "";
-
for (int ii = 0; ii < parts.Count; ii++)
{
CommandFormat part = parts[ii];
@@ -184,7 +182,6 @@ namespace ShiftOS.Engine
else
{
position = text.Length;
- syntaxError = "Syntax Error";
command = "+FALSE+";
}
help = -1;
diff --git a/ShiftOS_TheReturn/Commands.cs b/ShiftOS_TheReturn/Commands.cs
index 7980635..87aacd6 100644
--- a/ShiftOS_TheReturn/Commands.cs
+++ b/ShiftOS_TheReturn/Commands.cs
@@ -73,7 +73,7 @@ namespace ShiftOS.Engine
TerminalBackend.IsForwardingConsoleWrites = forwarding;
TerminalBackend.ForwardGUID = (forwarding == true) ? fGuid : null;
string resultFriendly = (result == true) ? "yes" : "no";
- Console.WriteLine($"{SaveSystem.CurrentSave.Username} says {resultFriendly}.");
+ Console.WriteLine($"{SaveSystem.CurrentUser.Username} says {resultFriendly}.");
TerminalBackend.IsForwardingConsoleWrites = false;
};
Desktop.InvokeOnWorkerThread(new Action(() =>