Skip to content

Commit

Permalink
Fixed compatibility issues with other resources trying to use night v…
Browse files Browse the repository at this point in the history
…ision or thermal vision #76
  • Loading branch information
TomGrobbe committed Apr 9, 2018
1 parent 5a0bc32 commit 1c5803e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions vMenu/FunctionsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -563,8 +563,8 @@ private async Task MiscSettings()
#endregion

#region Nightvision & Thermal vision
SetNightvision(MainMenu.MiscSettingsMenu.NightVision);
SetSeethrough(MainMenu.MiscSettingsMenu.ThermalVision);
//SetNightvision(MainMenu.MiscSettingsMenu.NightVision);
//SetSeethrough(MainMenu.MiscSettingsMenu.ThermalVision);
#endregion
}
else
Expand Down
6 changes: 4 additions & 2 deletions vMenu/menus/MiscSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,13 @@ private void CreateMenu()
}
else if (item == nightVision)
{
NightVision = _checked;
//NightVision = _checked;
SetNightvision(_checked);
}
else if (item == thermalVision)
{
ThermalVision = _checked;
//ThermalVision = _checked;
SetSeethrough(_checked);
}
};

Expand Down

0 comments on commit 1c5803e

Please sign in to comment.