Commit 5abbbe2d authored by L1J Smitty's avatar L1J Smitty

don't update if no versioninfourl specified

parent 519bbe1e
...@@ -164,11 +164,14 @@ namespace Launcher.Forms ...@@ -164,11 +164,14 @@ namespace Launcher.Forms
private void playButton_Click(object sender, EventArgs e) private void playButton_Click(object sender, EventArgs e)
{ {
var patchForm = new Patcher(this._config, this._hasUpdates); if(this._config.VersionInfoUrl != null)
if (!patchForm.IsDisposed)
{ {
patchForm.ShowDialog(); var patchForm = new Patcher(this._config, this._hasUpdates);
if (!patchForm.IsDisposed)
{
patchForm.ShowDialog();
}
} }
this.Launch(this._config.Servers[this.cmbServer.SelectedItem.ToString()]); this.Launch(this._config.Servers[this.cmbServer.SelectedItem.ToString()]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment