Merge pull request #361 from tgstation/Cyberboss-patch-1

Fix debug-upgrade command. No longer behind DEBUG
This commit is contained in:
Jordan Brown
2017-11-14 09:58:21 -05:00
committed by GitHub
+1 -3
View File
@@ -261,11 +261,9 @@ namespace TGS.CommandLine
case "quit":
case "exit":
return (int)Command.ExitCode.Normal;
#if DEBUG
case "debug-upgrade":
currentInterface.GetComponent<ITGSService>().PrepareForUpdate();
currentInterface.GetServiceComponent<ITGSService>().PrepareForUpdate();
return (int)Command.ExitCode.Normal;
#endif
default:
//linq voodoo to get quoted strings
var formattedCommand = NextCommand.Split('"')