mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-18 11:48:02 -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))
|
print("Error: " .. tostring(reason))
|
||||||
elseif type(reason) == "function" then
|
elseif type(reason) == "function" then
|
||||||
callback = reason
|
callback = reason
|
||||||
else
|
elseif reason then
|
||||||
line = tostring(reason)
|
line = tostring(reason)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user