From: z411 Date: Sat, 12 Nov 2022 04:43:24 +0000 (-0300) Subject: Reverting announcer queue default to 2 seconds X-Git-Tag: xonotic-v0.8.6~237^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e169b52a883f8f1648a44d99623c4a1663cf4a1d;p=xonotic%2Fxonotic-data.pk3dir.git Reverting announcer queue default to 2 seconds Most announcers are longer than 2 seconds because most of them have around 500ms of silence at the beginning. Using soundlength actually makes them wait longer than they should. 2 seconds seems like a better default for most announcers and it's more consistent. --- diff --git a/qcsrc/common/notifications/all.inc b/qcsrc/common/notifications/all.inc index a01088115..0438293cc 100644 --- a/qcsrc/common/notifications/all.inc +++ b/qcsrc/common/notifications/all.inc @@ -103,7 +103,8 @@ // 0 = use the announcer sound length // >0 = use the specified time in seconds #define ANNCE_INSTANT -1 -#define ANNCE_DEFTIME 0 +#define ANNCE_LENGTH 0 +#define ANNCE_DEFTIME 2 #define MULTITEAM_ANNCE(prefix, defaultvalue, sound, channel, volume, position) \ NOTIF_ADD_AUTOCVAR(ANNCE_##prefix, defaultvalue) \