This commit is contained in:
hahwu 2025-09-11 17:58:38 +08:00
parent 4512648ae7
commit eebc7bcdce

View File

@ -399,6 +399,11 @@ func ReqGmCommand_(player *Player, Command string) error {
DecorateMod.AreaId = S DecorateMod.AreaId = S
DecorateMod.FinishList = make(map[int]struct{}) DecorateMod.FinishList = make(map[int]struct{})
DecorateMod.Progress = 0 DecorateMod.Progress = 0
DecorateMod.PartCost = make(map[int]*decorate.PartCostInfo)
DecorateMod.PartClassPool = []int{}
DecorateMod.PartPool = make(map[int]int)
DecorateMod.InitData()
player.PushClientRes(DecorateMod.BackData())
case "setDecorateProgress": case "setDecorateProgress":
S, _ := strconv.Atoi(arg[1]) S, _ := strconv.Atoi(arg[1])
DecorateMod := player.PlayMod.getDecorateMod() DecorateMod := player.PlayMod.getDecorateMod()