]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/trigger/teleport.qc
Merge branch 'terencehill/lms_itemtimes_fix' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / trigger / teleport.qc
index 37c4d1def7b0a82f0ed76910ac1bcc817d94a858..e289064c8b0413b1af161b3e7858659dc038741f 100644 (file)
@@ -87,7 +87,7 @@ spawnfunc(trigger_teleport)
        self.use = trigger_teleport_use;
 
        if(self.noise != "")
-               precache_sound(self.noise);
+               FOREACH_WORD(self.noise, true, LAMBDA(precache_sound(it)));
 
        // this must be called to spawn the teleport waypoints for bots
        InitializeEntity(self, teleport_findtarget, INITPRIO_FINDTARGET);