aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/ScriptMgr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/ScriptMgr.h b/src/game/ScriptMgr.h
index 9692e8a4222..f9058ae8996 100644
--- a/src/game/ScriptMgr.h
+++ b/src/game/ScriptMgr.h
@@ -11,9 +11,10 @@
#include "Common.h"
#include "Platform/CompilerDefs.h"
#include "DBCStructure.h"
+#include "Config/ConfigEnv.h"
#ifndef _TRINITY_SCRIPT_CONFIG
-# define _TRINITY_SCRIPT_CONFIG "trinitycore.conf"
+# define _TRINITY_SCRIPT_CONFIG sConfig.GetFilename().c_str()
#endif _TRINITY_SCRIPT_CONFIG
class Player;