装饰修复

This commit is contained in:
hahwu 2025-09-09 18:00:51 +08:00
parent 416a1067da
commit 40becaa198

View File

@ -86,7 +86,7 @@ func (d *Decorate) GetDecorateCostItem(AreaId, DecorateId int) ([]*item.Item, in
delete(d.PartCost, Id) delete(d.PartCost, Id)
} }
if len(d.PartCost) == 0 { if len(d.PartCost) == 0 {
d.initPartCost(d.AreaId) d.initPartCost(d.AreaId + 1)
} }
return Items, PetExp return Items, PetExp
} }