Add a setting to disable version checks.

This commit is contained in:
Paul Chote
2017-12-28 17:53:44 +00:00
committed by abcdefg30
parent 0208d0cc10
commit 3effa5cec4
5 changed files with 37 additions and 15 deletions

View File

@@ -239,7 +239,8 @@ namespace OpenRA.Mods.Common.Widgets.Logic
// Check for updates in the background
var webServices = modData.Manifest.Get<WebServices>();
webServices.CheckModVersion();
if (Game.Settings.Debug.CheckVersion)
webServices.CheckModVersion();
// System information opt-out prompt
var sysInfoPrompt = widget.Get("SYSTEM_INFO_PROMPT");