]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Disable trigger_music when the match ends, so it doesn't overlap with the intermissio...
authorMario <mario@smbclan.net>
Tue, 6 Aug 2019 08:12:56 +0000 (18:12 +1000)
committerMario <mario@smbclan.net>
Tue, 6 Aug 2019 08:12:56 +0000 (18:12 +1000)
qcsrc/common/mapobjects/target/music.qc

index 5a63872dbd6c46b6742b3534be7b4531c0d38ef2..55ccf41fbf2db9da6b46b1e3008a027795d16878 100644 (file)
@@ -272,7 +272,7 @@ void Net_TargetMusic()
 
 void Ent_TriggerMusic_Think(entity this)
 {
-       if(this.active == ACTIVE_NOT)
+       if(this.active == ACTIVE_NOT || intermission)
        {
                return;
        }