fix: 代码审查问题修复 — rebuildBoard 参数修正 + 玩家座位号排序

This commit is contained in:
2026-06-23 11:28:27 +08:00
parent f85e23d545
commit 15bf6d0531
2 changed files with 6 additions and 2 deletions

View File

@@ -471,7 +471,7 @@ public class GameServiceImpl implements GameService {
.toList();
// 从走棋记录重建棋盘
boardState = GomokuGameService.rebuildBoard(moveEntities, room.getMaxPlayers());
boardState = GomokuGameService.rebuildBoard(moveEntities, GomokuGameService.BOARD_SIZE);
// currentTurn 由服务端运行时管理HTTP 快照中暂不返回
}