From: terencehill Date: Sun, 29 May 2022 23:02:19 +0000 (+0200) Subject: Make sure client has received gametype name before displaying it in the centerprint... X-Git-Tag: xonotic-v0.8.5~25 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4062b39f5ba3a6c754cc7bbb9d9adc3a55776b99;p=xonotic%2Fxonotic-data.pk3dir.git Make sure client has received gametype name before displaying it in the centerprint title --- diff --git a/qcsrc/client/announcer.qc b/qcsrc/client/announcer.qc index 9d70b3e27..d46595e87 100644 --- a/qcsrc/client/announcer.qc +++ b/qcsrc/client/announcer.qc @@ -230,6 +230,9 @@ void Announcer_Time() void Announcer() { + // announcer code sets gametype name as centerprint title + if(!gametype) + return; Announcer_Gamestart(); Announcer_Time(); }