1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-17 13:25:20 +03:00
This commit is contained in:
Bertrand Songis 2016-09-13 18:31:37 +02:00
parent acebc53470
commit 4a88d3477d

View file

@ -584,6 +584,11 @@ void luaDoOneRunStandalone(event_t evt)
} }
#endif #endif
} }
else {
TRACE("Script run method missing");
standaloneScript.state = SCRIPT_SYNTAX_ERROR;
luaState = INTERPRETER_RELOAD_PERMANENT_SCRIPTS;
}
} }
bool luaDoOneRunPermanentScript(uint8_t evt, int i, uint32_t scriptType) bool luaDoOneRunPermanentScript(uint8_t evt, int i, uint32_t scriptType)