diff --git a/lua/entities/gmod_wire_fpga/init.lua b/lua/entities/gmod_wire_fpga/init.lua index 74b7b7e..9f6cc2d 100644 --- a/lua/entities/gmod_wire_fpga/init.lua +++ b/lua/entities/gmod_wire_fpga/init.lua @@ -805,7 +805,11 @@ function ENT:Run(changedNodes) if gate.isInput then value = {self.InputValues[nodeId]} elseif gate.isConstant then - value = {node.value} + if gate.outputtypes[1] == "STRING" then + value = { WireLib.ParseEscapes(node.value) } + else + value = {node.value} + end else if nodeId == loopDetectionNodeId and #nodeQueue == loopDetectionSize then --infinite loop...