Scripting: Fix console error log level

This commit is contained in:
Vicki Pfau 2023-09-16 00:42:52 -07:00
parent c03b15944b
commit 805773aa8f
1 changed files with 1 additions and 1 deletions

View File

@ -1267,7 +1267,7 @@ static void mScriptConsoleError(struct mScriptConsole* console, struct mScriptSt
if (console->logger) {
mLogExplicit(console->logger, _mLOG_CAT_SCRIPT, mLOG_ERROR, "%s", msg->buffer);
} else {
mLog(_mLOG_CAT_SCRIPT, mLOG_WARN, "%s", msg->buffer);
mLog(_mLOG_CAT_SCRIPT, mLOG_ERROR, "%s", msg->buffer);
}
}