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),
Skill: make(map[int32]map[int32]*SkillEx),
}
this.Roles.ModUnlock[id] = 1
this.Roles.Mod[id] = &ModEx{
ret.ModUnlock[id] = 1
ret.Mod[id] = &ModEx{
Ts: now.Unix(),
}
return ret