房卡场中途不能离开房间

This commit is contained in:
sk 2024-09-03 10:54:28 +08:00
parent d292cbc118
commit 5c6dce2f4d
1 changed files with 4 additions and 1 deletions

View File

@ -2765,7 +2765,10 @@ func (this *SceneBilledStateTienLen) OnLeave(s *base.Scene) {
continue
}
player_data.Clear()
if sceneEx.IsMatchScene() {
if sceneEx.IsCustom() {
player_data.UnmarkFlag(base.PlayerState_WaitNext)
}
if sceneEx.IsMatchScene() || sceneEx.IsCustom() {
continue
}
if !player_data.IsOnLine() {