Director Class (director.lua) in Subdirectory

Hi Guys,

I've been trying to organize my code a little better now that the daily builds support placing .lua files in subdirectories.

I've created a lib folder where I've placed all the libraries that I'm using (ui.lua, movieclip.lua etc...) however I'm getting the following error from the Director Class:

1
2
Runtime error
        ...sers/ahamidi/Dev/Corona/game/lib/director.lua:257: attempt to index global 'director' (a nil value)
views:1845 update:2011/10/22 17:28:16
corona forums © 2003-2011