Skip to content

Commit

Permalink
Merge pull request #383 from kdxr/patch-1
Browse files Browse the repository at this point in the history
[FIX] error when using removeVoiceMode
  • Loading branch information
AvarianKnight authored Jan 25, 2023
2 parents 12a98d0 + 44bb941 commit dd0d9c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/init/proximity.lua
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ exports("removeVoiceMode", function(name)
if mode == i then
local newMode = Cfg.voiceModes[1]
mode = 1
setProximityState(newMode[i], false)
setProximityState(newMode[mode], false)
end
return true
end
Expand Down

0 comments on commit dd0d9c8

Please sign in to comment.