From cb09b9055639aed4f1d34736467954385d70cb42 Mon Sep 17 00:00:00 2001 From: Lactozilla Date: Sun, 2 Jun 2024 21:45:36 -0300 Subject: [PATCH] Add missing comments --- src/lua_skinlib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lua_skinlib.c b/src/lua_skinlib.c index a00661884..26f4011d3 100644 --- a/src/lua_skinlib.c +++ b/src/lua_skinlib.c @@ -377,6 +377,7 @@ static int lib_getSkinSpriteCompat(lua_State *L) return 1; } +// TODO: 2.3: Delete // #skin.sprites -> NUMPLAYERSPRITES*2 static int lib_numSkinsSpritesCompat(lua_State *L) { @@ -413,7 +414,7 @@ int LUA_SkinLib(lua_State *L) LUA_RegisterUserdataMetatable(L, META_SOUNDSID, soundsid_get, NULL, soundsid_num); LUA_RegisterUserdataMetatable(L, META_SKINSPRITES, lib_getSkinSprite, NULL, lib_numSkinsSprites); LUA_RegisterUserdataMetatable(L, META_SKINSPRITESLIST, sprite_get, NULL, NULL); - LUA_RegisterUserdataMetatable(L, META_SKINSPRITESCOMPAT, lib_getSkinSpriteCompat, NULL, lib_numSkinsSpritesCompat); + LUA_RegisterUserdataMetatable(L, META_SKINSPRITESCOMPAT, lib_getSkinSpriteCompat, NULL, lib_numSkinsSpritesCompat); // TODO: 2.3: Delete skin_fields_ref = Lua_CreateFieldTable(L, skin_opt);