]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/sounds/all.qh
Precache: defer
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / sounds / all.qh
index fd56eeca37f89a865a4f64e0af758f3491014282..1bf8ba170e506af00b2198746eebfbaa7fcf7644 100644 (file)
@@ -14,7 +14,7 @@ REGISTER_REGISTRY(RegisterSounds)
 // Used in places where a string is required
 #define SND(id) (SND_##id.sound_str())
 
-STATIC_INIT(RegisterSounds_precache) {
+PRECACHE(Sounds) {
     FOREACH(Sounds, true, LAMBDA({
         it.sound_precache(it);
     }));