Minor tweaks after a failed attempt at metatables

This commit is contained in:
Kayne Ruse
2014-06-23 05:58:54 +10:00
parent 316db43b0a
commit f5c58bf5ad
3 changed files with 5 additions and 2 deletions
+2
View File
@@ -39,6 +39,8 @@ static int getRoom(lua_State* L) {
}
static int createRoom(lua_State* L) {
//TODO: check parameter count for the glue functions
//get the room manager
lua_pushstring(L, ROOM_MANAGER_PSEUDOINDEX);
lua_gettable(L, LUA_REGISTRYINDEX);