mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-17 19:25:20 -04:00
not sending nil results from lua
This commit is contained in:
parent
cd490f7ae2
commit
6116ef3942
@ -338,7 +338,7 @@ local result, reason = pcall(function()
|
||||
print("Error: " .. tostring(reason))
|
||||
elseif type(reason) == "function" then
|
||||
callback = reason
|
||||
else
|
||||
elseif reason then
|
||||
line = tostring(reason)
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user