1
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
昔念
2026-02-07 00:18:14 +08:00
parent 637a49e274
commit 3947fbce4b
14 changed files with 61 additions and 44 deletions

View File

@@ -55,6 +55,8 @@ func (h Controller) OnPlayerHandleFightInvite(data *fight.HandleFightInviteInbou
_, err = fight.NewFight(v, c, func(foi info.FightOverInfo) {
//println("好友对战测试", foi.Reason)
})
if err <= 0 { //成功发起对战

View File

@@ -49,6 +49,7 @@ func (h Controller) Login(data *user.MAIN_LOGIN_IN, c gnet.Conn) (result *user.L
defer space.GetSpace(currentPlayer.Info.MapID).EnterMap(currentPlayer)
currentPlayer.IsLogin = true
return result, 0
}