]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add debug print
authorSamual <samual@xonotic.org>
Tue, 1 Nov 2011 18:35:34 +0000 (14:35 -0400)
committerSamual <samual@xonotic.org>
Tue, 1 Nov 2011 18:35:34 +0000 (14:35 -0400)
qcsrc/client/announcer.qc

index b0d43358d2a992d7e211e48b8d4208d40720eca5..4c8884ddf37d1eb8e236c23e0e6ec9982709bc19 100644 (file)
@@ -11,6 +11,7 @@ void Announcer_Play(string announcement)
        if((announcement != previous_announcement) || (time >= (previous_announcement_time + autocvar_cl_announcer_antispam)))
        {
                sound(world, CH_INFO, strcat("announcer/", autocvar_cl_announcer, "/", announcement, ".wav"), VOL_BASEVOICE, ATTN_NONE);
+               print(strcat("announcement: '", announcement, "' at time: ", ftos(time), ". \n"));
 
                previous_announcement = announcement;
                previous_announcement_time = time;