Fix some events not sent to LUA telemetry scripts scripts.
Thix fixes #4366
This commit is contained in:
@@ -781,7 +781,7 @@ void luaDoOneRunStandalone(event_t evt)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool luaDoOneRunPermanentScript(uint8_t evt, int i, uint32_t scriptType)
|
bool luaDoOneRunPermanentScript(event_t evt, int i, uint32_t scriptType)
|
||||||
{
|
{
|
||||||
ScriptInternalData & sid = scriptInternalData[i];
|
ScriptInternalData & sid = scriptInternalData[i];
|
||||||
if (sid.state != SCRIPT_OK) return false;
|
if (sid.state != SCRIPT_OK) return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user