Skip to content

Commit

Permalink
Do not toggle minimap size when multiplayer info key is disabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomGrobbe committed Apr 25, 2019
1 parent 8b212fc commit 2f1a080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vMenu/FunctionsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ async Task TogglePointing()
{
SetBigmapActive(false, false);
}
if (Game.IsControlJustReleased(0, Control.MultiplayerInfo) && MainMenu.MiscSettingsMenu.KbRadarKeys && !MenuController.IsAnyMenuOpen() && !IsPauseMenuActive())
if (Game.IsControlJustReleased(0, Control.MultiplayerInfo) && Game.IsControlEnabled(0, Control.MultiplayerInfo) && MainMenu.MiscSettingsMenu.KbRadarKeys && !MenuController.IsAnyMenuOpen() && !IsPauseMenuActive())
{
bool radarExpanded = IsBigmapActive();

Expand Down

0 comments on commit 2f1a080

Please sign in to comment.