Fix debug-upgrade command. No longer behind DEBUG

This commit is contained in:
Jordan Brown
2017-11-14 09:50:59 -05:00
committed by GitHub
parent 81864bb7b1
commit e7b98318a4
+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('"')