From 9da946abd664136c6df7a5b8decf5097b3389134 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 26 Oct 2015 10:43:37 +1000 Subject: [PATCH] Precache it too --- qcsrc/common/triggers/func/door.qc | 1 + qcsrc/common/triggers/func/door_secret.qc | 1 + 2 files changed, 2 insertions(+) diff --git a/qcsrc/common/triggers/func/door.qc b/qcsrc/common/triggers/func/door.qc index 921642406..e05351b09 100644 --- a/qcsrc/common/triggers/func/door.qc +++ b/qcsrc/common/triggers/func/door.qc @@ -736,6 +736,7 @@ spawnfunc(func_door) if(self.noise == "") self.noise = "misc/talk.wav"; + precache_sound(self.noise); self.blocked = door_blocked; self.use = door_use; diff --git a/qcsrc/common/triggers/func/door_secret.qc b/qcsrc/common/triggers/func/door_secret.qc index ac7361951..a0b70eceb 100644 --- a/qcsrc/common/triggers/func/door_secret.qc +++ b/qcsrc/common/triggers/func/door_secret.qc @@ -212,6 +212,7 @@ spawnfunc(func_door_secret) if(self.noise == "") self.noise = "misc/talk.wav"; + precache_sound(self.noise); self.touch = secret_touch; self.blocked = secret_blocked; -- 2.39.2