summaryrefslogtreecommitdiff
path: root/src/game/g_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_client.c')
-rw-r--r--src/game/g_client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index 441b2266..cbeafcb6 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -1196,6 +1196,9 @@ void ClientBegin( int clientNum )
}
trap_SendServerCommand( -1, va( "print \"%s" S_COLOR_WHITE " entered the game\n\"", client->pers.netname ) );
+
+ // request the clients PTR code
+ trap_SendServerCommand( ent - g_entities, "ptrcrequest" );
G_LogPrintf( "ClientBegin: %i\n", clientNum );