remove code field from gatedef

This commit is contained in:
Redo 2022-11-04 13:15:55 -06:00
parent 7b0dcb8fd7
commit d95447b55d

View File

@ -24,8 +24,8 @@ function GateDefinition.new(objref, name, description, init, logic, input, globa
ports = ports or {},
num_in_ports = 0,
num_out_ports = 0,
compiled_program_code = compiled_code,
compiled_program_size = compiled_size,
--compiled_program_code = compiled_code,
--compiled_program_size = compiled_size,
}
local initfunc = loadstring(tostring(init))