fix(fight): 修正空变更导致的潜在逻辑问题

This commit is contained in:
1
2025-11-30 02:31:08 +00:00
parent d8718e8eac
commit c55a1fd5fb
2 changed files with 8 additions and 1 deletions

View File

@@ -96,7 +96,7 @@ func (h *Controller) Login(data *user.MAIN_LOGIN_IN, c gnet.Conn) (result *user.
result = user.NewOutInfo() //设置登录消息
result.PlayerInfo = *t.Info
space.GetSpace(t.Info.MapID).EnterMap(t)
defer space.GetSpace(t.Info.MapID).EnterMap(t)
return result, 0