Compare commits
No commits in common. "7d9477b53cae89fab6c021d4c0f2fcba6dafd6d8" and "778de206ca550d21e7acbb7e242c66d8cea6e8b6" have entirely different histories.
7d9477b53c
...
778de206ca
|
@ -34,7 +34,6 @@ import (
|
|||
playerproto "mongo.games.com/game/protocol/player"
|
||||
"mongo.games.com/game/protocol/rankmatch"
|
||||
serverproto "mongo.games.com/game/protocol/server"
|
||||
"mongo.games.com/game/protocol/webapi"
|
||||
"mongo.games.com/game/srvdata"
|
||||
"mongo.games.com/game/worldsrv/internal"
|
||||
)
|
||||
|
@ -322,14 +321,7 @@ func (this *Player) OnLogined() {
|
|||
if !this.IsRob {
|
||||
if isFirstLogin {
|
||||
cfg := PlatformMgrSingleton.GetConfig(this.Platform).GuideConfig
|
||||
var info *webapi.GuideInfo
|
||||
for _, v := range cfg.GetInfo() {
|
||||
if v.GetGuideId() == common.GuideIdNewPlayer {
|
||||
info = v
|
||||
break
|
||||
}
|
||||
}
|
||||
if info == nil || info.GetOn() != common.On {
|
||||
if cfg == nil || cfg.Info[1] == nil || cfg.Info[1].GetOn() != common.On {
|
||||
this.GuideStep = -1
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue