Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
fix toggling speaker
Browse files Browse the repository at this point in the history
  • Loading branch information
FrazzIe committed Sep 3, 2020
1 parent 4c720fa commit 058f3d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ Citizen.CreateThread(function()
if mumbleConfig.callSpeakerEnabled then
if ((not mumbleConfig.controls.speaker.secondary == nil) and IsControlPressed(0, mumbleConfig.controls.speaker.secondary) or true) then
if IsControlJustPressed(0, mumbleConfig.controls.speaker.key) then
if playerCall > 0 then
if playerData.call > 0 then
SetVoiceData("callSpeaker", not playerData.callSpeaker)
playerData.callSpeaker = not playerData.callSpeaker
end
Expand Down

0 comments on commit 058f3d5

Please sign in to comment.