Search found 2 matches
- Sat Oct 13, 2012 5:05 pm
- Forum: Support and Development
- Topic: Middleclass passing objects
- Replies: 2
- Views: 1667
Re: Middleclass passing objects
the period was the problem, I knew it was going to be a small mistake like that. Thanks for the help!
- Sat Oct 13, 2012 2:29 am
- Forum: Support and Development
- Topic: Middleclass passing objects
- Replies: 2
- Views: 1667
Middleclass passing objects
Hey guys, Im having some trouble with my code and hoped one of you could help. I am using middleclass and Im trying to pass an object to another function, but for some reason whenever I try to access the object, I get a nil error. --Mill.lua-- function Mill:update(dt) self:findTrees() for i=1, #self...