mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-18 03:36:47 -04:00
woops, meant to grab only 1 return from assert
This commit is contained in:
parent
9a1923f7f4
commit
838de82df9
@ -34,7 +34,7 @@ function print(...)
|
|||||||
local stdout = io.stdout
|
local stdout = io.stdout
|
||||||
local pre = ""
|
local pre = ""
|
||||||
for i = 1, args.n do
|
for i = 1, args.n do
|
||||||
stdout:write(pre, assert(tostring(args[i]), "'tostring' must return a string to 'print'"))
|
stdout:write(pre, (assert(tostring(args[i]), "'tostring' must return a string to 'print'")))
|
||||||
pre = "\t"
|
pre = "\t"
|
||||||
end
|
end
|
||||||
stdout:write("\n")
|
stdout:write("\n")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user