txlyre 2 月之前
父節點
當前提交
92a7779964
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      chess0.py

+ 1 - 1
chess0.py

@@ -73,7 +73,7 @@ class ChessManager:
 
     async def begin(self, id):
         if id in self.sessions:
-            await self.stop(id)
+            await self.end(id)
 
         _, engine = await chess.engine.popen_uci(self.engine_path)