summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/g_namelog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_namelog.c b/src/game/g_namelog.c
index dfd8c712..60642496 100644
--- a/src/game/g_namelog.c
+++ b/src/game/g_namelog.c
@@ -79,6 +79,8 @@ void G_namelog_disconnect( gclient_t *client )
void G_namelog_update_score( gclient_t *client )
{
namelog_t *n = client->pers.namelog;
+ if( n == NULL )
+ return;
n->team = client->pers.teamSelection;
n->score = client->ps.persistant[ PERS_SCORE ];