diff --git a/worldsrv/action_pushcoin.go b/worldsrv/action_pushcoin.go index a4fd358..db38f66 100644 --- a/worldsrv/action_pushcoin.go +++ b/worldsrv/action_pushcoin.go @@ -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: - UpdatePlayerPushCoin(p) + if p.WelfData.PushCoin.Refresh <= 0 { + InitPlayerPushCoin(p) + } else { + UpdatePlayerPushCoin(p) + } case activity.OpCodes_OP_Exchange: d := srvdata.PBDB_PropExchangeMgr.GetData(int32(msg.GetOpParam()))