Compare commits

..

No commits in common. "7d9477b53cae89fab6c021d4c0f2fcba6dafd6d8" and "778de206ca550d21e7acbb7e242c66d8cea6e8b6" have entirely different histories.

1 changed files with 1 additions and 9 deletions

View File

@ -34,7 +34,6 @@ import (
playerproto "mongo.games.com/game/protocol/player" playerproto "mongo.games.com/game/protocol/player"
"mongo.games.com/game/protocol/rankmatch" "mongo.games.com/game/protocol/rankmatch"
serverproto "mongo.games.com/game/protocol/server" serverproto "mongo.games.com/game/protocol/server"
"mongo.games.com/game/protocol/webapi"
"mongo.games.com/game/srvdata" "mongo.games.com/game/srvdata"
"mongo.games.com/game/worldsrv/internal" "mongo.games.com/game/worldsrv/internal"
) )
@ -322,14 +321,7 @@ func (this *Player) OnLogined() {
if !this.IsRob { if !this.IsRob {
if isFirstLogin { if isFirstLogin {
cfg := PlatformMgrSingleton.GetConfig(this.Platform).GuideConfig cfg := PlatformMgrSingleton.GetConfig(this.Platform).GuideConfig
var info *webapi.GuideInfo if cfg == nil || cfg.Info[1] == nil || cfg.Info[1].GetOn() != common.On {
for _, v := range cfg.GetInfo() {
if v.GetGuideId() == common.GuideIdNewPlayer {
info = v
break
}
}
if info == nil || info.GetOn() != common.On {
this.GuideStep = -1 this.GuideStep = -1
} }
} }