fix(game): 修复游戏结束逻辑,弃牌的时候正确结算

- 将 room.roomResult() 替换为 room.endGame(),以确保在最后一轮后正确结束游戏
master
苗庆帅 2025-06-20 16:05:37 +08:00
parent b134082820
commit 31f994343b
3 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ public class EXPlayerFoldState extends StateBase<EXPlayer> {
if (room.nextRound==room.maxRound){
room.endGame();
}else {
room.roomResult();
room.endGame();
}