Fix missing breaks in ticcmd_set
This commit is contained in:
parent
2b7af72e00
commit
de87222d98
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue