宠物订单优化

This commit is contained in:
hahwu 2025-05-30 18:41:32 +08:00
parent dd9b66b368
commit e7971ae3f6

View File

@ -852,6 +852,9 @@ func (player *Player) FormatOrderReward() {
OrderMod := player.PlayMod.getOrderMod()
if ExpCoin > PExpCoin {
for k, v := range OrderMod.GetOrderList() {
if len(v.Items) == 0 {
continue
}
if v.Type != order.Common_type {
continue
}
@ -865,6 +868,9 @@ func (player *Player) FormatOrderReward() {
return
}
for k, v := range OrderMod.GetOrderList() {
if len(v.Items) == 0 {
continue
}
if v.Type != order.Common_type {
continue
}