TA4 Terminal: Fix possible crash

This commit is contained in:
Thomas--S 2021-01-06 20:17:47 +01:00
parent a596ef07e1
commit 699b73d366

View File

@ -201,7 +201,7 @@ techage.register_node({"techage:ta4_terminal"}, {
output(pos, payload)
return true
elseif topic == "msg" then
output(pos, payload.src..": "..payload.text)
output(pos, tostring(payload.src)..": "..tostring(payload.text))
return true
end
end,