娃娃机结算结果修改
This commit is contained in:
parent
e38523c745
commit
a125f5f959
|
@ -119,8 +119,6 @@ func MSDollMachineoCoinResultHandler(session *netlib.Session, packetId int, data
|
|||
playerEx.IsWin = false
|
||||
}
|
||||
|
||||
playerEx.SendPlayerGameBilled(int32(sceneEx.RoundId))
|
||||
|
||||
logger.Logger.Tracef("ClawDoll StatePlayGame OnPlayerOp Grab response, SnId= %v", msg.Snid)
|
||||
|
||||
s.ChangeSceneState(rule.ClawDollSceneStateBilled)
|
||||
|
|
|
@ -929,6 +929,16 @@ func (this *StateWaitPayCoin) OnEnter(s *base.Scene) {
|
|||
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 {
|
||||
return
|
||||
}
|
||||
|
||||
playingEx := sceneEx.GetPlayingEx()
|
||||
if playingEx != nil {
|
||||
playingEx.SendPlayerGameBilled(int32(sceneEx.RoundId))
|
||||
}
|
||||
}
|
||||
|
||||
func (this *StateWaitPayCoin) OnTick(s *base.Scene) {
|
||||
|
|
Loading…
Reference in New Issue