Restore vector type check (#14663)

This commit is contained in:
OgelGames 2024-05-21 04:36:44 +10:00 committed by GitHub
parent c4703a7f19
commit 8972e829f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ extern "C" {
*/
static void read_v3_aux(lua_State *L, int index)
{
CHECK_POS_TAB(index);
lua_pushvalue(L, index);
lua_rawgeti(L, LUA_REGISTRYINDEX, CUSTOM_RIDX_READ_VECTOR);
lua_insert(L, -2);