feat(currency_wars): complete systems, settlement Rank SS, damage report, camera and recovery fixes
This commit is contained in:
1 parent
c008243f11
commit
0995055296
78 files changed
+33840
-9525
No files matched your search
@@ -64,10 +64,9 @@ func cwGenerateSupplyOfferWithRules(c *common.CurrencyWarsCatalog, run *pb.MPIMA
|
||||
var equipment []uint32
|
||||
for _, item := range recipes.Equipment {
|
||||
if item.Category == category {
|
||||
if _, ok := gear[item.ID]; !ok {
|
||||
return nil, fmt.Errorf("CW Supply equipment %d is not captured", item.ID)
|
||||
if _, ok := gear[item.ID]; ok {
|
||||
equipment = append(equipment, item.ID)
|
||||
}
|
||||
equipment = append(equipment, item.ID)
|
||||
}
|
||||
}
|
||||
if len(equipment) == 0 {
|
||||
|
||||
Reference in new issue
Block a user