fix typo
This commit is contained in:
parent
57087d728f
commit
7bb5d2f3c4
@ -17,9 +17,9 @@ function lualogic_registergatedefinition_auto(%data){
|
||||
|
||||
if((%idx = $LuaLogic::GateDefinitionIDX[%id]) $= "")
|
||||
{
|
||||
%idx = $LuaLogic::GateDefintionCount+0;
|
||||
%idx = $LuaLogic::GateDefinitionCount+0;
|
||||
$LuaLogic::GateDefinitionIDX[%id] = %idx;
|
||||
$LuaLogic::GateDefintionCount++;
|
||||
$LuaLogic::GateDefinitionCount++;
|
||||
}
|
||||
|
||||
%numports = %data.numLogicPorts;
|
||||
@ -42,7 +42,7 @@ function lualogic_registergatedefinition_auto(%data){
|
||||
@ ";" @ (%data.logicPortCauseUpdate[%i] == true) @ ";" @ %data.logicPortUIName[%i];
|
||||
}
|
||||
|
||||
$LuaLogic::GateDefintion[%idx] = %def;
|
||||
$LuaLogic::GateDefinition[%idx] = %def;
|
||||
}
|
||||
|
||||
function lualogic_registerAllGateDefinitions(){
|
||||
@ -117,8 +117,8 @@ function lualogic_send(%data)
|
||||
|
||||
function lualogic_sendgatedefinitions()
|
||||
{
|
||||
for(%i = 0; %i < $LuaLogic::GateDefintionCount; %i++)
|
||||
lualogic_send("GD;" @ $LuaLogic::GateDefintion[%i]);
|
||||
for(%i = 0; %i < $LuaLogic::GateDefinitionCount; %i++)
|
||||
lualogic_send("GD;" @ $LuaLogic::GateDefinition[%i]);
|
||||
}
|
||||
|
||||
function lualogic_sendoptions(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user