mirror of
https://github.com/minetest/minetest.git
synced 2024-11-30 03:23:45 +01:00
Restore vector type check (#14663)
This commit is contained in:
parent
c4703a7f19
commit
8972e829f2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user