mirror of
https://github.com/Haui1112/minetest.git
synced 2024-10-22 21:11:52 +02: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 a new issue