Skip to content
Permalink
Browse files
opps, bug fixed
  • Loading branch information
Lupus590 committed Jan 1, 2017
1 parent f49967a commit 2b4fcd3
Showing 1 changed file with 1 addition and 1 deletion.
@@ -107,7 +107,7 @@ setmetatable(turtle.toetle, toetleMeta)
function turtleMeta.__newindex(t,k,v)
error("Toetle: this functon is not initualised")
end
function turtleMeta.__index(t,k) -- when users call a turtle function it this is what actually happens
function turtleMeta.__index(t,k,...) -- when users call a turtle function it this is what actually happens
if (not states.k) then
error("Toetle: This function has no handler and probably has not been initualised.",2)
else

0 comments on commit 2b4fcd3

Please sign in to comment.