From 5e20e9e27ec12c03862662c092824d27a949b7e1 Mon Sep 17 00:00:00 2001 From: Nev3r Date: Mon, 13 Apr 2020 10:21:32 +0200 Subject: [PATCH] Fix typo involving the stringargs exposure. --- src/lua_mobjlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lua_mobjlib.c b/src/lua_mobjlib.c index 53a02fb19..1df955b4a 100644 --- a/src/lua_mobjlib.c +++ b/src/lua_mobjlib.c @@ -819,12 +819,12 @@ static int mapthing_get(lua_State *L) number = mt->tag; else if(fastcmp(field,"args")) { - LUA_PushUserdata(L, mt->args, META_THINGARGS); + LUA_PushUserdata(L, mt->stringargs, META_THINGARGS); return 1; } else if(fastcmp(field,"stringargs")) { - LUA_PushUserdata(L, mt->args, META_THINGSTRINGARGS); + LUA_PushUserdata(L, mt->stringargs, META_THINGSTRINGARGS); return 1; } else if(fastcmp(field,"mobj")) {