订单优化
This commit is contained in:
parent
7b9bf73b1a
commit
4e50670358
@ -209,7 +209,7 @@ func (o *OrderMod) CreateOrder(lv int, Emit []int, EnergyMul int) error {
|
||||
MaxOrderNum := orderCfg.GetOrderNum(lv)
|
||||
n := 0
|
||||
for _, v := range o.OrderList {
|
||||
if v.Type == Common_type || v.Type == Clean_type {
|
||||
if v.Type == Common_type || v.Type == Clean_type || v.Type == Pet_type {
|
||||
n++
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user