Enhancement for type#1 force-confirmation trigger.

This commit is contained in:
genxium
2023-01-31 09:57:37 +08:00
parent ba2dd0b22e
commit 8de2d6e4e7
2 changed files with 13 additions and 10 deletions

View File

@@ -388,7 +388,7 @@ func Serve(c *gin.Context) {
startOrFeedHeartbeatWatchdog(conn)
case models.UPSYNC_MSG_ACT_PLAYER_CMD:
startOrFeedHeartbeatWatchdog(conn)
pRoom.OnBattleCmdReceived(pReq)
pRoom.OnBattleCmdReceived(pReq, false)
case models.UPSYNC_MSG_ACT_PLAYER_COLLIDER_ACK:
res := pRoom.OnPlayerBattleColliderAcked(int32(playerId))
if false == res {