Fixed #29
This commit is contained in:
parent
fdfd400d0a
commit
6e7de80233
@ -92,7 +92,7 @@ namespace OWTrack
|
|||||||
if (line.Contains("Overwatch.exe"))
|
if (line.Contains("Overwatch.exe"))
|
||||||
{
|
{
|
||||||
tr = saveManeger.GetSavedTracker();
|
tr = saveManeger.GetSavedTracker();
|
||||||
st.Close();
|
if (tr.startSR > 0) SRonce = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -100,9 +100,8 @@ namespace OWTrack
|
|||||||
{
|
{
|
||||||
tr.gamePath = getGamePath();
|
tr.gamePath = getGamePath();
|
||||||
}
|
}
|
||||||
st.Close();
|
|
||||||
}
|
}
|
||||||
|
st.Close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
@ -125,13 +124,12 @@ namespace OWTrack
|
|||||||
openFileDialog1.DefaultExt = "exe";
|
openFileDialog1.DefaultExt = "exe";
|
||||||
openFileDialog1.Filter = "exe Files (*.exe)|*.exe|All files (*.*)|*.*";
|
openFileDialog1.Filter = "exe Files (*.exe)|*.exe|All files (*.*)|*.*";
|
||||||
DialogResult result = openFileDialog1.ShowDialog();
|
DialogResult result = openFileDialog1.ShowDialog();
|
||||||
|
|
||||||
if (result == DialogResult.OK)
|
if (result == DialogResult.OK)
|
||||||
{
|
{
|
||||||
MessageBox.Show("Saved Overwatch.exe location.\nPress Clear to rest");
|
MessageBox.Show("Saved Overwatch.exe location.\nPress Clear to rest");
|
||||||
return openFileDialog1.FileName;
|
return openFileDialog1.FileName;
|
||||||
}
|
}
|
||||||
else { return null; }
|
else return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SRSystem(bool state)
|
private void SRSystem(bool state)
|
||||||
|
@ -109,9 +109,7 @@ namespace OWTrack
|
|||||||
gamePath = paths[0];
|
gamePath = paths[0];
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
else return false;
|
else return false;
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user