Skip to content

Commit

Permalink
Revert "fix(client-registry): remove temp net id from m_clientsByNetI…
Browse files Browse the repository at this point in the history
…d when 'joining'"

This change was suspected (on Matrix in #main:cfx.re) to cause compat
issues with some ways of handling player connections.

https://matrix.to/#/!rUiwxlJvpdAOiTowFn:cfx.re/$Zy6GJR5TXYuVTb8b4EeWBKXE2oVeuYhjqQXObby23_c?via=cfx.re&via=matrix.org&via=t2bot.io

This reverts commit 3800625.
  • Loading branch information
blattersturm committed Aug 4, 2023
1 parent 460e385 commit 50637e5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion code/components/citizen-server-impl/src/ClientRegistry.cpp
Expand Up @@ -223,7 +223,6 @@ namespace fx
events->TriggerClientEvent("onPlayerJoining", target, client->GetNetId(), client->GetName(), bigModeSlot);
}

m_clientsByNetId[oldNetID].reset();
// trigger connection handlers
OnConnectedClient(client.get());
}
Expand Down

0 comments on commit 50637e5

Please sign in to comment.