From 97613002ce4f655b2b47fa25ef9e740d95e50725 Mon Sep 17 00:00:00 2001 From: milimoe Date: Sun, 20 Apr 2025 20:58:27 +0800 Subject: [PATCH] =?UTF-8?q?NextCharacter=20=E7=9A=84=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E6=94=B9=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OshimaServers/FastAutoServer.cs | 2 +- OshimaServers/Service/FunGameActionQueue.cs | 4 ++-- OshimaServers/Service/FunGameSimulation.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/OshimaServers/FastAutoServer.cs b/OshimaServers/FastAutoServer.cs index b386260..3cfd026 100644 --- a/OshimaServers/FastAutoServer.cs +++ b/OshimaServers/FastAutoServer.cs @@ -206,7 +206,7 @@ namespace Oshima.FunGame.OshimaServers } // 检查是否有角色可以行动 - Character? characterToAct = actionQueue.NextCharacter(); + Character? characterToAct = await actionQueue.NextCharacterAsync(); // 处理回合 if (characterToAct != null) diff --git a/OshimaServers/Service/FunGameActionQueue.cs b/OshimaServers/Service/FunGameActionQueue.cs index 19a2771..6ab0532 100644 --- a/OshimaServers/Service/FunGameActionQueue.cs +++ b/OshimaServers/Service/FunGameActionQueue.cs @@ -88,7 +88,7 @@ namespace Oshima.FunGame.OshimaServers.Service } // 检查是否有角色可以行动 - Character? characterToAct = actionQueue.NextCharacter(); + Character? characterToAct = await actionQueue.NextCharacterAsync(); // 处理回合 if (characterToAct != null) @@ -288,7 +288,7 @@ namespace Oshima.FunGame.OshimaServers.Service } // 检查是否有角色可以行动 - Character? characterToAct = actionQueue.NextCharacter(); + Character? characterToAct = await actionQueue.NextCharacterAsync(); // 处理回合 if (characterToAct != null) diff --git a/OshimaServers/Service/FunGameSimulation.cs b/OshimaServers/Service/FunGameSimulation.cs index b8f8cc1..45073ed 100644 --- a/OshimaServers/Service/FunGameSimulation.cs +++ b/OshimaServers/Service/FunGameSimulation.cs @@ -260,7 +260,7 @@ namespace Oshima.FunGame.OshimaServers.Service } // 检查是否有角色可以行动 - Character? characterToAct = actionQueue.NextCharacter(); + Character? characterToAct = await actionQueue.NextCharacterAsync(); // 处理回合 if (characterToAct != null)