Missed the map system's nested API table

This commit is contained in:
Kayne Ruse
2014-12-01 00:26:47 +11:00
parent 822ff5827e
commit c89f94b681
+1 -1
View File
@@ -70,7 +70,7 @@ int openMapSystemAPI(lua_State* L) {
//push the substable
for (const luaL_Reg* lib = libs; lib->func; lib++) {
lua_pushcfunction(L, lib->func);
lib->func(L);
lua_setfield(L, -2, lib->name);
}
return 1;