mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-25 05:56:58 +01:00
Merge pull request #285 from tgstation/Cyberboss-patch-2
Removes hardcoded reference to libmysql.dll
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user