mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Restore vector type check (#14663)
This commit is contained in:
parent
c4703a7f19
commit
8972e829f2
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue