一键建造修改

This commit is contained in:
hahwu 2025-09-10 12:13:28 +08:00
parent 871d2c564a
commit f91ae551a0

View File

@ -113,8 +113,7 @@ func (d *Decorate) DecorateAll(Star int) ([]*item.Item, []*item.Item, int, []int
Id := decorateCfg.GetIdBySenceAndLv(d.AreaId, d.Progress)
PartItem := d.PartCost[Id]
if PartItem != nil {
SubItems = append(SubItems, PartItem.Items...)
delete(d.PartCost, Id)
break
}
d.Progress++
d.DecorateNum++