修复任务接取

This commit is contained in:
flswld
2023-03-31 16:39:41 +08:00
parent 901397a04e
commit d8fcff624b
3 changed files with 22 additions and 14 deletions
+2
View File
@@ -116,6 +116,8 @@ func (g *Game) OnLoginOk(userId uint32, clientSeq uint32, gateAppId string, isRe
TICK_MANAGER.CreateUserGlobalTick(userId)
TICK_MANAGER.CreateUserTimer(userId, UserTimerActionTest, 100, player.NickName)
g.AcceptQuest(player, true)
atomic.AddInt32(&ONLINE_PLAYER_NUM, 1)
SELF = nil