娃娃机结算结果修改

This commit is contained in:
DESKTOP-45ANQ2C\unis 2024-10-10 11:52:37 +08:00
parent a125f5f959
commit 03c6852edd
1 changed files with 5 additions and 5 deletions

View File

@ -924,11 +924,6 @@ func (this *StateWaitPayCoin) OnPlayerOp(s *base.Scene, p *base.Player, opcode i
func (this *StateWaitPayCoin) OnEnter(s *base.Scene) {
logger.Logger.Trace("(this *StateWaitPayCoin) OnEnter, sceneid=", s.GetSceneId())
this.BaseState.OnEnter(s)
}
func (this *StateWaitPayCoin) OnLeave(s *base.Scene) {
logger.Logger.Trace("(this *StateWaitPayCoin) OnLeave, sceneid=", s.GetSceneId())
this.BaseState.OnLeave(s)
sceneEx, ok := s.ExtraData.(*SceneEx)
if !ok {
@ -941,6 +936,11 @@ func (this *StateWaitPayCoin) OnLeave(s *base.Scene) {
}
}
func (this *StateWaitPayCoin) OnLeave(s *base.Scene) {
logger.Logger.Trace("(this *StateWaitPayCoin) OnLeave, sceneid=", s.GetSceneId())
this.BaseState.OnLeave(s)
}
func (this *StateWaitPayCoin) OnTick(s *base.Scene) {
this.BaseState.OnTick(s)
if sceneEx, ok := s.ExtraData.(*SceneEx); ok {