1.4.3 #38

Merged
Hesham merged 25 commits from release/1.4.3 into master 2018-12-21 22:19:53 +01:00
Showing only changes of commit 5d7640c0f0 - Show all commits

View File

@ -86,24 +86,16 @@ namespace OWTrack
if (saveManeger.saveExist()) if (saveManeger.saveExist())
{ {
try try
{
using (StreamReader st = new StreamReader(Paths.GetSaves()))
{
string line = st.ReadToEnd();
if (line.Contains("Overwatch.exe"))
{ {
tr = saveManeger.GetSavedTracker(); tr = saveManeger.GetSavedTracker();
if (tr.startSR > 0) SRonce = true; if (tr.startSR > 0) SRonce = true;
} if (tr.settings.GamePath == "" || tr.settings.GamePath == null)
else
{ {
if (!tr.LoacteOW()) if (!tr.LoacteOW())
{ {
tr.settings.GamePath = askForGamePath(); tr.settings.GamePath = askForGamePath();
} }
} }
st.Close();
}
} }
catch (Exception e) catch (Exception e)
{ {