fix:休闲平台
This commit is contained in:
parent
60c1e80bdd
commit
aa9a92f4e9
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue