mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 00:05:17 +03:00
Cosmetics
This commit is contained in:
parent
4f24088719
commit
cff0b33f4b
1 changed files with 1 additions and 0 deletions
|
@ -330,6 +330,7 @@ bool luaLoadMixScript(uint8_t index)
|
||||||
bool luaLoadFunctionScript(uint8_t index)
|
bool luaLoadFunctionScript(uint8_t index)
|
||||||
{
|
{
|
||||||
CustomFunctionData & fn = g_model.customFn[index];
|
CustomFunctionData & fn = g_model.customFn[index];
|
||||||
|
|
||||||
if (fn.func == FUNC_PLAY_SCRIPT && ZEXIST(fn.play.name)) {
|
if (fn.func == FUNC_PLAY_SCRIPT && ZEXIST(fn.play.name)) {
|
||||||
if (luaScriptsCount < MAX_SCRIPTS) {
|
if (luaScriptsCount < MAX_SCRIPTS) {
|
||||||
ScriptInternalData & sid = scriptInternalData[luaScriptsCount++];
|
ScriptInternalData & sid = scriptInternalData[luaScriptsCount++];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue