宠物宝藏bug修复
This commit is contained in:
parent
1b259919f7
commit
1886d56013
@ -4237,7 +4237,9 @@ func ReqFriendTreasureEnd(player *Player, buf []byte) error {
|
||||
"pet_treasure_box": FriendTreasureMod.BoxItems,
|
||||
"pet_treasure_reward": append(Items, FriendTreasureMod.BoxItems...),
|
||||
})
|
||||
FriendTreasureMod.ResetGame()
|
||||
player.PlayMod.save()
|
||||
player.PushClientRes(FriendTreasureMod.BackData())
|
||||
player.PushClientRes(&msg.ResFriendTreasureEnd{
|
||||
Code: msg.RES_CODE_SUCCESS,
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user