Cosmetics
This commit is contained in:
@@ -636,7 +636,7 @@ bool luaLoadMixScript(uint8_t index)
|
||||
|
||||
bool luaLoadFunctionScript(uint8_t index, uint8_t ref)
|
||||
{
|
||||
if ((ref >= SCRIPT_GFUNC_FIRST) && g_model.noGlobalFunctions)
|
||||
if (ref >= SCRIPT_GFUNC_FIRST && g_model.noGlobalFunctions)
|
||||
return false;
|
||||
|
||||
CustomFunctionData & fn = (ref < SCRIPT_GFUNC_FIRST ? g_model.customFn[index] : g_eeGeneral.customFn[index]);
|
||||
|
||||
Reference in New Issue
Block a user