mirror of https://github.com/mgba-emu/mgba.git
Scripting: Fix console error log level
This commit is contained in:
parent
c03b15944b
commit
805773aa8f
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue