Fix missing breaks in ticcmd_set

This commit is contained in:
NepDisk 2026-03-11 12:25:35 -04:00
parent 2b7af72e00
commit de87222d98

View file

@ -2794,8 +2794,10 @@ static int ticcmd_set(lua_State *L)
return NOSET;
case ticcmd_tilt:
cmd->tilt = (SINT8)luaL_checkinteger(L, 3);
break;
case ticcmd_shake:
cmd->shake = (UINT8)luaL_checkinteger(L, 3);
break;
default:
return NOFIELD;
}