]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/mutators/gamemode_towerdefense.qc
Precache stuff
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / gamemode_towerdefense.qc
index c81a26c51d8594cdea925b80d769c2c790bec3bf..917dbed5bce928aa33f0b5b239e20bbacde8bd2e 100644 (file)
@@ -124,6 +124,11 @@ void spawnfunc_td_generator()
 {
        if not(g_td) { remove(self); return; }
        
+       precache_sound("onslaught/generator_underattack.wav");
+       precache_sound("onslaught/ons_hit1.wav");
+       precache_sound("onslaught/ons_hit2.wav");
+       precache_sound("weapons/rocket_impact.wav");
+       
        gendestroyed = FALSE;
        
        if not(self.health)