restore vector type check

This commit is contained in:
OgelGames 2024-05-15 14:59:04 +10:00
parent 93f4844c9c
commit b7556a86e2
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);