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