mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 07:04:57 +01:00
Merge pull request #361 from tgstation/Cyberboss-patch-1
Fix debug-upgrade command. No longer behind DEBUG
This commit is contained in:
@@ -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('"')
|
||||
|
||||
Reference in New Issue
Block a user