Merge pull request #48 from Thomas--S/terminal-crash

TA4 Terminal: Fix possible crash
master
Joachim Stolberg 2021-01-07 01:50:06 +01:00 committed by GitHub
commit 576e02c91a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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,