Skip to content

Commit

Permalink
Update player_manager.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
qubka committed Jan 5, 2025
1 parent f5b15a6 commit 12191b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/player_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ void CPlayerManager::OnClientConnected(CPlayerSlot slot) {
void CPlayerManager::OnClientPutInServer(CPlayerSlot slot, char const* pszName) {
CPlayer* pPlayer = ToPlayer(slot);
if (pPlayer) {
if (!pPlayer->IsConnected()) {
if (pPlayer->IsFakeClient()) {
if (!OnClientConnect(slot, pszName, 0, "127.0.0.1"))
return;

Expand Down

0 comments on commit 12191b6

Please sign in to comment.