diff --git a/TGServerService/Compiler.cs b/TGServerService/Compiler.cs index 31c9bdb39b..9260d9453a 100644 --- a/TGServerService/Compiler.cs +++ b/TGServerService/Compiler.cs @@ -264,6 +264,9 @@ namespace TGServerService } catch //held open by byond { + //This means there is a staged update waiting to be applied, we have to unstage it before we can work + Directory.Delete(GameDirLive); + CreateSymlink(GameDirLive, TheDir); return InvertDirectory(TheDir); } }