宠物宝藏

This commit is contained in:
hahwu 2025-03-19 16:42:14 +08:00
parent 6f1ab4c1e0
commit cd9afa8c7e

View File

@ -35,9 +35,10 @@ func (f *FriendTreasureMod) InitData() {
func (f *FriendTreasureMod) ZeroUpdate() {
f.Star = 0
f.Shift = 0
f.Pos = nil
f.Pos = []int{}
f.List = make(map[int]*msg.TreasureInfo)
f.List2 = nil
f.List2 = []int32{}
f.Uids = []int64{}
f.Status = GAME_STATUS_IDLE
}