]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/target/music.qc
Kill off some now useless WITHSELF cases
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / target / music.qc
index 48330d46011007e72e5d32e592da91f8c0fa01eb..4ce98b944b4907387ab66e058d850597e4a6a11b 100644 (file)
@@ -39,9 +39,9 @@ void target_music_kill()
        FOREACH_ENTITY_CLASS("target_music", true, {
                it.volume = 0;
         if (it.targetname == "")
-            WITHSELF(it, target_music_sendto(it, MSG_ALL, 1));
+            target_music_sendto(it, MSG_ALL, 1);
         else
-            WITHSELF(it, target_music_sendto(it, MSG_ALL, 0));
+            target_music_sendto(it, MSG_ALL, 0);
        });
 }
 void target_music_use(entity this, entity actor, entity trigger)