aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS_TheReturn')
-rw-r--r--ShiftOS_TheReturn/CommandParser.cs24
1 files changed, 16 insertions, 8 deletions
diff --git a/ShiftOS_TheReturn/CommandParser.cs b/ShiftOS_TheReturn/CommandParser.cs
index 7568b98..8f25668 100644
--- a/ShiftOS_TheReturn/CommandParser.cs
+++ b/ShiftOS_TheReturn/CommandParser.cs
@@ -121,20 +121,28 @@ namespace ShiftOS.Engine
i = 0;
}
- CommandFormat part = parts[i];
- string inp = text.Substring(position);
+ CommandFormat part = parts[i];
+ string inp = text.Substring(position);
string res = part.CheckValidity(inp);
if(part is CommandFormatText)
{
- if(res == "+FALSE+")
+ if (res == "+FALSE+")
{
- if(id_found == false)
+#if SUPERMOSQUITO_DIAGNOSIS
+ if (!inp.Remove(0, 1).Contains(" "))
{
- id_found = true;
- id_text = inp.Remove(0,1);
- res = "";
- arguments.Add("id", id_text);
+
+
+ if (id_found == false)
+ {
+ id_found = true;
+ id_text = inp.Remove(0, 1);
+ res = "";
+ arguments.Add("id", id_text);
+
+ }
}
+#endif
}
}