aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/luatablegen/W_Global_Section_tablegen.c
diff options
context:
space:
mode:
Diffstat (limited to 'bruiser/luatablegen/W_Global_Section_tablegen.c')
-rw-r--r--bruiser/luatablegen/W_Global_Section_tablegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bruiser/luatablegen/W_Global_Section_tablegen.c b/bruiser/luatablegen/W_Global_Section_tablegen.c
index 1254816..0bb2056 100644
--- a/bruiser/luatablegen/W_Global_Section_tablegen.c
+++ b/bruiser/luatablegen/W_Global_Section_tablegen.c
@@ -69,7 +69,7 @@ static int setter_W_Global_Section_count(lua_State* __ls) {
}
static int setter_W_Global_Section_globals(lua_State* __ls) {
W_Global_Section* dummy = check_W_Global_Section(__ls, 1);
- dummy->globals = luaL_checkudata(__ls, 2, "W_Global_Section");
+ dummy->globals = luaL_checkudata(__ls, 2, "globals_t");
lua_settop(__ls, 1);
return 1;
}