1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-17 21:35:27 +03:00

Better Lua traces

This commit is contained in:
Damjan Adamic 2015-07-31 18:56:26 +02:00
parent f5dca813fb
commit c1efd39df7
2 changed files with 2 additions and 2 deletions

View file

@ -1830,7 +1830,7 @@ void luaDoOneRunStandalone(uint8_t evt)
luaExec(nextScript);
}
else {
TRACE("Script error");
TRACE("Script run function returned unexpected value");
standaloneScript.state = SCRIPT_SYNTAX_ERROR;
luaState = INTERPRETER_RELOAD_PERMANENT_SCRIPTS;
}