This commit is contained in:
Bertrand Songis
2016-09-13 18:31:57 +02:00
parent acebc53470
commit 4a88d3477d
+5
View File
@@ -584,6 +584,11 @@ void luaDoOneRunStandalone(event_t evt)
}
#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)