diff --git a/src/main/client/player/controls.ts b/src/main/client/player/controls.ts index 6159df1c8..8ecfce696 100644 --- a/src/main/client/player/controls.ts +++ b/src/main/client/player/controls.ts @@ -50,7 +50,9 @@ function setCameraControlsDisabled(state: boolean) { } } -function setAttackControlsDisabled(state: boolean) {} +function setAttackControlsDisabled(state: boolean) { + disableAttackControls = state; +} alt.onServer(Events.player.controls.set, setControls); alt.onServer(Events.player.controls.setCameraFrozen, setCameraFrozen);