fix 推币机桌面数据同步
This commit is contained in:
parent
9bedfc1dfe
commit
046d5ea7fb
|
@ -213,7 +213,11 @@ func CSPushCoinPlayerOp(s *netlib.Session, packetid int, data interface{}, sid i
|
|||
p.WelfData.PushCoin.Shake -= int32(msg.GetOpParam())
|
||||
|
||||
case activity.OpCodes_OP_Refresh:
|
||||
if p.WelfData.PushCoin.Refresh <= 0 {
|
||||
InitPlayerPushCoin(p)
|
||||
} else {
|
||||
UpdatePlayerPushCoin(p)
|
||||
}
|
||||
|
||||
case activity.OpCodes_OP_Exchange:
|
||||
d := srvdata.PBDB_PropExchangeMgr.GetData(int32(msg.GetOpParam()))
|
||||
|
|
Loading…
Reference in New Issue