From eef8ad5e4970d0476e0d7c6e65a5c36e1bac2282 Mon Sep 17 00:00:00 2001 From: terencehill Date: Thu, 29 Aug 2019 22:09:45 +0200 Subject: [PATCH] Don't send each team choice cvar 4 times to the server (we can do it now thanks to commit e05fde461f) --- qcsrc/common/notifications/all.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/notifications/all.qc b/qcsrc/common/notifications/all.qc index b8e0d5c69..663269c93 100644 --- a/qcsrc/common/notifications/all.qc +++ b/qcsrc/common/notifications/all.qc @@ -761,7 +761,7 @@ void Create_Notification_Entity_Choice(entity notif, #ifdef SVQC void Notification_GetCvars(entity this) { - FOREACH(Notifications, it.nent_type == MSG_CHOICE, { + FOREACH(Notifications, it.nent_type == MSG_CHOICE && (!it.nent_teamnum || it.nent_teamnum == NUM_TEAM_1), { GetCvars_handleFloat( this, CS(this), -- 2.39.2