aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Scripting/ScriptMgr.cpp
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2020-09-06 21:00:38 +0200
committerTreeston <treeston.mmoc@gmail.com>2020-09-06 21:00:38 +0200
commitfc3feebee9e26ec5bc21a46f37b5affe416582c6 (patch)
treee89ea335c301fc7a79863ad8a2d49526a3a83ca1 /src/server/game/Scripting/ScriptMgr.cpp
parentc9356190b7891deb7878bc30064eaf1c81857c2c (diff)
Scripts/IcecrownCitadel: correct Rimefang's script name
Diffstat (limited to 'src/server/game/Scripting/ScriptMgr.cpp')
-rw-r--r--src/server/game/Scripting/ScriptMgr.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/server/game/Scripting/ScriptMgr.cpp b/src/server/game/Scripting/ScriptMgr.cpp
index acb2c962d57..41bc38f0081 100644
--- a/src/server/game/Scripting/ScriptMgr.cpp
+++ b/src/server/game/Scripting/ScriptMgr.cpp
@@ -810,7 +810,7 @@ public:
else
{
// The script uses a script name from database, but isn't assigned to anything.
- TC_LOG_ERROR("sql.sql", "Script named '%s' does not have a script name assigned in database.",
+ TC_LOG_ERROR("sql.sql", "Script '%s' exists in the core, but the database does not assign it to any creature.",
script->GetName().c_str());
// Avoid calling "delete script;" because we are currently in the script constructor
@@ -1071,8 +1071,7 @@ void ScriptMgr::Initialize()
if (scriptName.empty())
continue;
- TC_LOG_ERROR("sql.sql", "ScriptName '%s' exists in database, "
- "but no core script found!", scriptName.c_str());
+ TC_LOG_ERROR("sql.sql", "Script '%s' is referenced by the database, but does not exist in the core!", scriptName.c_str());
}
TC_LOG_INFO("server.loading", ">> Loaded %u C++ scripts in %u ms",