make rom update on reload, fix braces in text brick, fix half adder crash
This commit is contained in:
		| @@ -18,7 +18,7 @@ datablock fxDTSBrickData(LogicGate_HalfAdder_Data) | ||||
| 	 | ||||
| 	logicUpdate = | ||||
| 		"return function(gate) " @ | ||||
| 		"	Gate.setportstate(gate, 3, bit.bxor(Gate.getportstate(gate, 1), Gate.getportstate(gate, 2)) == 1) " @ | ||||
| 		"	Gate.setportstate(gate, 3, bit.bxor(Gate.getportstate(gate, 1), Gate.getportstate(gate, 2))) " @ | ||||
| 		"	Gate.setportstate(gate, 4, (Gate.getportstate(gate, 1) and Gate.getportstate(gate, 2)) and 1 or 0) " @ | ||||
| 		"end" | ||||
| 	; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Redo
					Redo