diff --git a/TGS.CommandLine/Program.cs b/TGS.CommandLine/Program.cs index a9157d9512..262c2a4031 100644 --- a/TGS.CommandLine/Program.cs +++ b/TGS.CommandLine/Program.cs @@ -261,11 +261,9 @@ namespace TGS.CommandLine case "quit": case "exit": return (int)Command.ExitCode.Normal; -#if DEBUG case "debug-upgrade": - currentInterface.GetComponent().PrepareForUpdate(); + currentInterface.GetServiceComponent().PrepareForUpdate(); return (int)Command.ExitCode.Normal; -#endif default: //linq voodoo to get quoted strings var formattedCommand = NextCommand.Split('"')