From 42e8b80999998b250955006d6c328b405cde2f14 Mon Sep 17 00:00:00 2001 From: HeshamTB Date: Mon, 3 Sep 2018 22:30:34 +0300 Subject: [PATCH] exe search ready --- OWTrack/Form1.cs | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/OWTrack/Form1.cs b/OWTrack/Form1.cs index 7a628cb..acc1e58 100644 --- a/OWTrack/Form1.cs +++ b/OWTrack/Form1.cs @@ -52,8 +52,7 @@ namespace OWTrack tr.startSR = savedTracker().startSR; tr.gamePath = savedTracker().gamePath; update(); - } - else MessageBox.Show("no save"); + } } private bool saveExist() @@ -72,16 +71,21 @@ namespace OWTrack } else { - getGamePath(); - st.Close(); + if (!tr.LoacteOW()) + { + getGamePath(); + st.Close(); + } return true; } } } else { - MessageBox.Show("NO data.json"); - getGamePath(); + if (!tr.LoacteOW()) + { + getGamePath(); + } return false; } }