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)