readd player var to lib_pDoSuperTransformation

otherwise this may desynch?
This commit is contained in:
Alug committed 2025-05-19 15:48:20 +02:00
1 parent 38cbdac05a
commit c0f7780709
1 file changed
+3
+3
View File
@@ -1512,7 +1512,10 @@ static int lib_pSetMobjStateNF(lua_State *L)
static int lib_pDoSuperTransformation(lua_State *L)
{
player_t *player = *((player_t **)luaL_checkudata(L, 1, META_PLAYER));
NOHUD
if (!player)
return LUA_ErrInvalid(L, "player_t");
return 0;
}