fix: 代码审查问题修复 — rebuildBoard 参数修正 + 玩家座位号排序
This commit is contained in:
@@ -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 快照中暂不返回
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user