```
feat(build): 更新构建脚本添加资源打包和proto编译 更新build.bat脚本,添加proto文件编译和资源打包功能,调整资源打包顺序。 BREAKING CHANGE: 构建流程发生变化,需要重新生成proto文件和打包资源。 --- refactor(xmlres): 使用gres替换gfile读取资源文件 将xmlres模块中文件读取方式从gfile.GetBytes改为gres.GetContent, 使
This commit is contained in:
@@ -80,6 +80,7 @@ func (lw *Player) CompleteLogin() {
|
||||
lw.Info.SetTask(4, model.Completed) //设置新手任务默认完成
|
||||
lw.Info.MapID = 8
|
||||
if len(lw.Info.PetList) == 0 {
|
||||
//这个是添加后防止卡死
|
||||
rr := lw.Service.Pet.PetInfo(0)
|
||||
if len(rr) > 0 {
|
||||
lw.Info.PetList = append(lw.Info.PetList, rr[0].Data)
|
||||
|
||||
Reference in New Issue
Block a user