LunaLua
LunaLua copied to clipboard
Make luabind classes compatible with type.lua
type(...) is now compatible with luabind classes like Level, Path or Scenery.
Example using the following Lua code in map.lua:
function onDraw()
Text.print(type(Level.get()[1]), 66, 130)
end
Before:

After:
