Merge pull request #3950 from opentx/3djc/Horus-enable-perm-scripts

3djc/horus enable perm scripts
This commit is contained in:
3djc
2016-10-24 09:04:15 +02:00
committed by GitHub
+1 -1
View File
@@ -739,9 +739,9 @@ bool luaTask(event_t evt, uint8_t scriptType, bool allowLcdUsage)
#if !defined(COLORLCD)
luaInit();
if (luaState == INTERPRETER_PANIC) return false;
#endif
luaLoadPermanentScripts();
if (luaState == INTERPRETER_PANIC) return false;
#endif
}
for (int i=0; i<luaScriptsCount; i++) {