SERVER: convert bad misc/buy.wav on teddy_spawn

This commit is contained in:
cypress 2023-08-26 09:43:26 -04:00
parent b3388f382f
commit 72631d96a8

View file

@ -132,8 +132,11 @@ void() teddy_spawn =
self.health = 0;
self.th_die = teddy_react;
if (self.noise)
precache_sound (self.noise);
if (self.noise) {
// FIXME: make a convert_old_sound_path function like we do for models.
if (self.noise == "misc/buy.wav") self.noise = "sounds/misc/buy.wav";
precache_sound (self.noise);
}
};
/* ==================