Skip to content

Commit

Permalink
Merge branch 'master' of https://code.moenext.com/mycard/windbot
Browse files Browse the repository at this point in the history
  • Loading branch information
misonomika525 committed Sep 22, 2024
2 parents 2a2a668 + 078ad57 commit 18dbefe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Game/GameAI.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System.Linq;
using System.Collections.Generic;
using System.Threading;
using WindBot.Game.AI;
using YGOSharp.OCGWrapper.Enums;

Expand Down Expand Up @@ -48,6 +49,9 @@ public void OnRetry()
public void OnDeckError(string card)
{
_dialogs.SendDeckSorry(card);
Thread.Sleep(1000);
_dialogs.SendSurrender();
Game.Connection.Close();
}

/// <summary>
Expand Down

0 comments on commit 18dbefe

Please sign in to comment.