Solving #29 & #28 #30

Merged
Hesham merged 3 commits from release/1.4.2 into master 2018-11-24 01:34:44 +01:00
2 changed files with 5 additions and 9 deletions
Showing only changes of commit 6e7de80233 - Show all commits

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)
{