Fixed "lua(...,...)" source (#1208)

Resolves #1205
This commit is contained in:
Raphael Coeffic
2021-12-04 14:37:03 +11:00
committed by GitHub
parent 789692fc8e
commit 995e41469e
2 changed files with 4 additions and 8 deletions
@@ -76,8 +76,6 @@ bool w_mixSrcRaw(const YamlNode* node, uint32_t val, yaml_writer_func wf, void*
else if (val >= MIXSRC_FIRST_LUA
&& val <= MIXSRC_LAST_LUA) {
if (!wf(opaque, "lua(", 4)) return false;
val -= MIXSRC_FIRST_LUA;
uint32_t script = val / MAX_SCRIPT_OUTPUTS;