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