Commit 18dbefed authored by 聖園ミカ's avatar 聖園ミカ 🐟

Merge branch 'master' of https://code.moenext.com/mycard/windbot

parents 2a2a6683 078ad579
Pipeline #29904 passed with stages
in 1 minute and 4 seconds
using System.Linq; using System.Linq;
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading;
using WindBot.Game.AI; using WindBot.Game.AI;
using YGOSharp.OCGWrapper.Enums; using YGOSharp.OCGWrapper.Enums;
...@@ -48,6 +49,9 @@ namespace WindBot.Game ...@@ -48,6 +49,9 @@ namespace WindBot.Game
public void OnDeckError(string card) public void OnDeckError(string card)
{ {
_dialogs.SendDeckSorry(card); _dialogs.SendDeckSorry(card);
Thread.Sleep(1000);
_dialogs.SendSurrender();
Game.Connection.Close();
} }
/// <summary> /// <summary>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment