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

Commit

Permalink
fix radio staying on
Browse files Browse the repository at this point in the history
  • Loading branch information
FrazzIe committed Mar 24, 2020
1 parent 120c71e commit e9a1385
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ RegisterCommand("+radio", function()
if playerData.radio ~= nil then
if playerData.radio > 0 then
SetVoiceData("radioActive", true)
playerData.radioActive = true
end
end
end
Expand All @@ -90,6 +91,7 @@ RegisterCommand("-radio", function()
if playerData.radio > 0 then
if playerData.radioActive then
SetVoiceData("radioActive", false)
playerData.radioActive = false
end
end
end
Expand Down

0 comments on commit e9a1385

Please sign in to comment.