From: terencehill Date: Thu, 29 Aug 2019 20:09:45 +0000 (+0200) Subject: Don't send each team choice cvar 4 times to the server (we can do it now thanks to... X-Git-Tag: xonotic-v0.8.5~1347 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=eef8ad5e4970d0476e0d7c6e65a5c36e1bac2282;p=xonotic%2Fxonotic-data.pk3dir.git Don't send each team choice cvar 4 times to the server (we can do it now thanks to commit e05fde461f) --- 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),