From fc3feebee9e26ec5bc21a46f37b5affe416582c6 Mon Sep 17 00:00:00 2001 From: Treeston Date: Sun, 6 Sep 2020 21:00:38 +0200 Subject: Scripts/IcecrownCitadel: correct Rimefang's script name --- src/server/game/Scripting/ScriptMgr.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/server/game/Scripting/ScriptMgr.cpp') 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", -- cgit v1.2.3