aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2020-03-09 20:08:26 +0100
committerjackpoz <giacomopoz@gmail.com>2020-03-09 20:08:26 +0100
commit96df3b7adb02f763aaaa6138922bd032a75a9b9e (patch)
tree2d619cca3c00b58c2bf0bea3ccbff787f1e065e3 /src
parent0ddee8a4a03fb5c7ee8d18144ca21cd2baad6f01 (diff)
Core/Scripts: Show a message when aborting because two scripts have the same registered name
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Scripting/ScriptMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Scripting/ScriptMgr.cpp b/src/server/game/Scripting/ScriptMgr.cpp
index 185be99ae00..97bb772adc3 100644
--- a/src/server/game/Scripting/ScriptMgr.cpp
+++ b/src/server/game/Scripting/ScriptMgr.cpp
@@ -780,7 +780,7 @@ public:
if (stored_script.second->GetName() == script->GetName())
{
// If the script is already assigned -> delete it!
- TC_LOG_ERROR("scripts", "Script '%s' already assigned with the same script name, "
+ ABORT_MSG("Script '%s' already assigned with the same script name, "
"so the script can't work.", script->GetName().c_str());
// Error that should be fixed ASAP.