mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-30 00:37:58 +03:00
Replace a TENLog call with ScriptWarn, so that it won't get logged in ERROR_MODE::SILENT.
This commit is contained in:
parent
dc40060a63
commit
7bc9e7b935
1 changed files with 1 additions and 1 deletions
|
@ -797,7 +797,7 @@ void GameScript::InitCallbacks()
|
|||
func = (*m_lua)["LevelFuncs"][luaFunc];
|
||||
std::string err{ "Level's script does not define callback " + fullName};
|
||||
if (!ScriptAssert(func.valid(), err)) {
|
||||
TENLog("Defaulting to no " + fullName + " behaviour.", LogLevel::Warning, LogConfig::All);
|
||||
ScriptWarn("Defaulting to no " + fullName + " behaviour.");
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue