Skip to content

Commit 70851a8

Browse files
committed
Fix max clients per ip being broken
1 parent e164987 commit 70851a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/frontend/lobby.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ func (handler *SSRHandler) ssrEnterLobbyNoChecks(
9595

9696
newPlayer := lobby.JoinPlayer(api.GetPlayername(request))
9797

98+
newPlayer.SetLastKnownAddress(requestAddress)
9899
api.SetGameplayCookies(writer, request, newPlayer, lobby)
99100
} else {
100101
if player.Connected && player.GetWebsocket() != nil {

0 commit comments

Comments
 (0)