make states numbers instead of booleans
This commit is contained in:
@@ -23,7 +23,7 @@ datablock fxDtsBrickData(LogicGate_DFlipFlop64BitUp_Data){
|
||||
logicInput = "";
|
||||
logicUpdate =
|
||||
"return function(gate) " @
|
||||
" if Gate.getportstate(gate, 129) then " @
|
||||
" if Gate.getportstate(gate, 129)~=0 then " @
|
||||
" Gate.setportstate(gate, 65, Gate.getportstate(gate, 1)) " @
|
||||
" Gate.setportstate(gate, 66, Gate.getportstate(gate, 2)) " @
|
||||
" Gate.setportstate(gate, 67, Gate.getportstate(gate, 3)) " @
|
||||
|
||||
Reference in New Issue
Block a user