This commit is contained in:
HeshamTB 2018-11-24 03:24:50 +03:00
parent fdfd400d0a
commit 6e7de80233
2 changed files with 5 additions and 9 deletions

View File

@ -92,17 +92,16 @@ namespace OWTrack
if (line.Contains("Overwatch.exe"))
{
tr = saveManeger.GetSavedTracker();
st.Close();
if (tr.startSR > 0) SRonce = true;
}
else
{
if (!tr.LoacteOW())
{
tr.gamePath = getGamePath();
}
st.Close();
}
}
st.Close();
}
}
catch (Exception e)
@ -125,13 +124,12 @@ namespace OWTrack
openFileDialog1.DefaultExt = "exe";
openFileDialog1.Filter = "exe Files (*.exe)|*.exe|All files (*.*)|*.*";
DialogResult result = openFileDialog1.ShowDialog();
if (result == DialogResult.OK)
{
MessageBox.Show("Saved Overwatch.exe location.\nPress Clear to rest");
return openFileDialog1.FileName;
}
else { return null; }
else return null;
}
private void SRSystem(bool state)

View File

@ -109,9 +109,7 @@ namespace OWTrack
gamePath = paths[0];
return true;
}
else return false;
else return false;
}
catch (Exception e)
{