Posted 16 December 2013 - 09:31 PM
Alright so there is this really weird thing going on that I don't quite understand:
term.setBackgroundColor(colors.blue) --> No error, works normally
term.setBackgroundColor(colors.blue, nil) --> Number expected error
term.setBackgroundColor(colors.blue, 0) --> Still Number expected error
local termxsetBackgroundColor = function(_color, _extra)
return term.setBackgroundColor(_color, _extra)
end
termxsetBackgroundColor(colors.blue) --> Number expected error
Can anyone explain? Thanks!