From 0e243c71ed68b89b513b1750caf35934c734f388 Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Thu, 29 Feb 2024 13:47:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Client.cs | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/Client.cs b/Client.cs index cf33efa..529a2b1 100644 --- a/Client.cs +++ b/Client.cs @@ -108,13 +108,17 @@ namespace BattleServer HotUpdateScripts.FightRunnerMgr.Instance.RunOnceFight(runreq.info[i], (issucc) => { - int index = i; - reports[index] = new BattleReport() + if (!issucc) { - info = runreq.info[index], - winSide = 2, - }; - respaction(); + int index = i; + reports[index] = new BattleReport() + { + info = runreq.info[index], + winSide = 2, + }; + respaction(); + } + }, (report) => { int index = i;