fix:模型初始化

This commit is contained in:
sk 2024-07-25 14:46:47 +08:00
parent 699a08f9bb
commit 550e5eb690
1 changed files with 2 additions and 2 deletions

View File

@ -1043,8 +1043,8 @@ func (this *PlayerData) InitRolesAndPets() {
SkillInfo: make(map[int32]map[int32]int32), SkillInfo: make(map[int32]map[int32]int32),
Skill: make(map[int32]map[int32]*SkillEx), Skill: make(map[int32]map[int32]*SkillEx),
} }
this.Roles.ModUnlock[id] = 1 ret.ModUnlock[id] = 1
this.Roles.Mod[id] = &ModEx{ ret.Mod[id] = &ModEx{
Ts: now.Unix(), Ts: now.Unix(),
} }
return ret return ret