]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/announcer.qc
Make sure client has received gametype name before displaying it in the centerprint...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / announcer.qc
index 9d70b3e270715223a65297870c3b41f7c554d3e0..d46595e8718bde0a2007fb276a6e54ab6b49d7ca 100644 (file)
@@ -230,6 +230,9 @@ void Announcer_Time()
 
 void Announcer()
 {
+       // announcer code sets gametype name as centerprint title
+       if(!gametype)
+               return;
        Announcer_Gamestart();
        Announcer_Time();
 }