From c64f576f79ccabbd0c5ff30654e1089ab4426550 Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Fri, 23 Jun 2017 12:35:44 -0700 Subject: [PATCH] Fix bugs relating to doing multiple operations during the same round Look ma! I'm working on c# code in the web editor! --- TGServerService/Compiler.cs | 3 +++ 1 file changed, 3 insertions(+) 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); } }