Oops typo

This commit is contained in:
lachablock 2021-12-12 19:18:13 +11:00
parent 2794727201
commit 7ed8178372

View file

@ -864,7 +864,7 @@ static int ticcmd_set(lua_State *L)
else if (fastcmp(field,"latency")) else if (fastcmp(field,"latency"))
return NOSET; return NOSET;
else if (fastcmp(field,"flags")) else if (fastcmp(field,"flags"))
cmd->buttons = (UINT8)luaL_checkinteger(L, 3); cmd->flags = (UINT8)luaL_checkinteger(L, 3);
else else
return NOFIELD; return NOFIELD;