diff --git a/TGServerService/Compiler.cs b/TGServerService/Compiler.cs index 352c99db7c..6b3bf3a984 100644 --- a/TGServerService/Compiler.cs +++ b/TGServerService/Compiler.cs @@ -480,13 +480,13 @@ namespace TGServerService } } var staged = DaemonStatus() != TGDreamDaemonStatus.Offline; - if (!PostcompileHook()) - { - lastCompilerError = "The postcompile hook failed"; - compilerCurrentStatus = TGCompilerStatus.Initialized; //still fairly valid - return; - } - var msg = String.Format("Compile complete!{0}", !staged ? "" : " Server will update next round."); + if (!PostcompileHook()) + { + lastCompilerError = "The postcompile hook failed"; + compilerCurrentStatus = TGCompilerStatus.Initialized; //still fairly valid + return; + } + var msg = String.Format("Compile complete!{0}", !staged ? "" : " Server will update next round."); SendMessage("DM: " + msg, ChatMessageType.DeveloperInfo); TGServerService.WriteInfo(msg, TGServerService.EventID.DMCompileSuccess); lock (CompilerLock)