Skip to content

Commit

Permalink
fix: bug where attack controls not set
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuyk committed Jun 22, 2024
1 parent 78a06da commit 4b7576d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/client/player/controls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4b7576d

Please sign in to comment.