游戏功能优化

This commit is contained in:
hahwu 2025-02-10 15:14:37 +08:00
parent 98bed409f4
commit 7e70273759

View File

@ -113,9 +113,9 @@ func (p *PlayerChessData) UpdateChessData(player *Player, MChessData map[string]
// 检查棋子数据是否一致
func (p *PlayerChessData) checkChessEqual(player *Player) bool {
if len(p.Data.MChessData) == 0 {
return true
}
// if len(p.Data.MChessData) == 0 {
// return true
// }
ChessList := player.PlayMod.getChessMod().GetChessList()
if len(ChessList) != len(p.Data.MChessData) {
return false