Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
RickyB505 committed Nov 5, 2023
1 parent daf6790 commit ee0a1d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions vMenu/menus/VoiceChat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ private void CreateMenu()
"2 km",
"Global",
};
//var voiceChatProximity = new MenuListItem("Voice Chat Proximity", proximity, proximityRange.IndexOf(currentProximity), "Set the voice chat receiving proximity in meters.");
var voiceChatProximity = new MenuItem("Voice Chat Proximity (" + ConvertToMetric(currentProximity) + ")" , "Set the voice chat receiving proximity in meters. Set to 0 for global.");
var voiceChatChannel = new MenuListItem("Voice Chat Channel", channels, channels.IndexOf(currentChannel), "Set the voice chat channel.");

Expand All @@ -84,7 +83,6 @@ private void CreateMenu()
}

menu.AddMenuItem(voiceChatProximity);
//menu.AddMenuItem(voiceChatProximity2);
menu.AddMenuItem(voiceChatChannel);
menu.AddMenuItem(showVoiceStatus);
}
Expand Down
2 changes: 1 addition & 1 deletion vMenuServer/config/permissions.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ add_ace builtin.everyone "vMenu.VoiceChat.Menu" allow
#add_ace builtin.everyone "vMenu.VoiceChat.All" allow
add_ace builtin.everyone "vMenu.VoiceChat.Enable" allow
add_ace builtin.everyone "vMenu.VoiceChat.ShowSpeaker" allow
setr vmenu_override_voicechat_default_range 0.0 # options 5.0 5m, 10.0 10m, 15.0 15m, 20.0 20m, 100.0 100m, 300.0 300m, 1000.0 1000m ,2000.0 2000m, 0.0 userdefault
setr vmenu_override_voicechat_default_range 0.0 # range in meters, 0.0 is user default


# Staff voice channel is restricted to moderators/admins by default.
Expand Down

0 comments on commit ee0a1d7

Please sign in to comment.