Skip to content

Commit

Permalink
Comment the waiting loop to renew manager. Sleep of 5s replace it.
Browse files Browse the repository at this point in the history
  • Loading branch information
leguims committed Apr 6, 2018
1 parent 14c6608 commit e2dae1a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions PS4Macro.PES2018Lite/MyClub/Match/AcceptNewContract.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,11 @@ public override void OnMatched(ScriptBase script)
if (manager)
{
// Transaction'status 2
while (!script.MatchTemplate(script.CaptureFrame(), extension5Focus, 98))
{
Thread.Sleep(1000);
Log.LogMessage(Name, "Waiting for 'Skip transaction status2'");
}
//while (!script.MatchTemplate(script.CaptureFrame(), extension5Focus, 98))
//{
// Thread.Sleep(1000);
// Log.LogMessage(Name, "Waiting for 'Skip transaction status2'");
//}
// TODO : CAPTURE THE PICTURE !!
Thread.Sleep(5000);
script.Press(new DualShockState() { Circle = true });
Expand Down

0 comments on commit e2dae1a

Please sign in to comment.