fix:休闲平台

This commit is contained in:
sk 2024-12-12 17:41:55 +08:00
parent 60c1e80bdd
commit aa9a92f4e9
1 changed files with 9 additions and 9 deletions

View File

@ -2929,15 +2929,15 @@ func (this *SceneBilledStateTienLen) OnLeave(s *base.Scene) {
continue continue
} }
if player_data.IsAuto() && !player_data.IsRob { //if player_data.IsAuto() && !player_data.IsRob {
player_data.LeaveAutoState(s) // player_data.LeaveAutoState(s)
//
if !(s.IsMatchScene() || s.IsRankMatch()) { // if !(s.IsMatchScene() || s.IsRankMatch()) {
sceneEx.PlayerLeave(player_data.Player, common.PlayerLeaveReason_AutoState, true) // sceneEx.PlayerLeave(player_data.Player, common.PlayerLeaveReason_AutoState, true)
hasLeave = true // hasLeave = true
} // }
continue // continue
} //}
} }
if !hasLeave && !sceneEx.IsRobFightGame() && !sceneEx.IsMatchScene() { if !hasLeave && !sceneEx.IsRobFightGame() && !sceneEx.IsMatchScene() {