From 43219e6d3babf553ddff59b7d748e4fab16365b6 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Mon, 30 Oct 2017 15:19:37 -0400 Subject: [PATCH] Removes hardcoded reference to libmysql.dll --- TGServerService/ServerInstance/Compiler.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/TGServerService/ServerInstance/Compiler.cs b/TGServerService/ServerInstance/Compiler.cs index 6ed2f315e8..0ac51c1b15 100644 --- a/TGServerService/ServerInstance/Compiler.cs +++ b/TGServerService/ServerInstance/Compiler.cs @@ -25,8 +25,6 @@ namespace TGServerService const string StaticDirs = "Static"; const string StaticBackupDir = "Static_BACKUP"; - const string LibMySQLFile = "/libmysql.dll"; - const string GameDir = "Game"; const string GameDirA = GameDir + "/A"; const string GameDirB = GameDir + "/B"; @@ -121,7 +119,7 @@ namespace TGServerService //what is says on the tin CompilerStatus IsInitialized() { - if (File.Exists(GameDirLive + LibMySQLFile)) //its a good tell, jim + if (File.Exists(Path.Combine(GameDirLive, InterfaceDLLName))) //its a good tell, jim return CompilerStatus.Initialized; return CompilerStatus.Uninitialized; }