summaryrefslogtreecommitdiff
path: root/src/game/g_team.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_team.c')
-rw-r--r--src/game/g_team.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/g_team.c b/src/game/g_team.c
index 6f407a3f..a527ff91 100644
--- a/src/game/g_team.c
+++ b/src/game/g_team.c
@@ -202,6 +202,9 @@ void G_LeaveTeam( gentity_t *self )
G_FreeEntity( ent );
}
+ // cut all relevant zap beams
+ G_ClearPlayerZapEffects( self );
+
G_namelog_update_score( self->client );
}