exe search ready

This commit is contained in:
HeshamTB 2018-09-03 22:30:34 +03:00
parent 9e33f09b8e
commit 42e8b80999

View File

@ -52,8 +52,7 @@ namespace OWTrack
tr.startSR = savedTracker().startSR; tr.startSR = savedTracker().startSR;
tr.gamePath = savedTracker().gamePath; tr.gamePath = savedTracker().gamePath;
update(); update();
} }
else MessageBox.Show("no save");
} }
private bool saveExist() private bool saveExist()
@ -72,16 +71,21 @@ namespace OWTrack
} }
else else
{ {
getGamePath(); if (!tr.LoacteOW())
st.Close(); {
getGamePath();
st.Close();
}
return true; return true;
} }
} }
} }
else else
{ {
MessageBox.Show("NO data.json"); if (!tr.LoacteOW())
getGamePath(); {
getGamePath();
}
return false; return false;
} }
} }