SERVER: Remove substring check for ambient_generic

This commit is contained in:
cypress 2024-01-05 17:41:57 -05:00 committed by GitHub
parent 106d2d3019
commit fedc19c05a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,8 +92,8 @@ void () ambient_generic =
} }
else { else {
// append sounds/ if absent // append sounds/ if absent
if (substring(self.message, 0, 7) != "sounds/") //if (substring(self.message, 0, 7) != "sounds/")
self.message = strcat("sounds/", self.message); //self.message = strcat("sounds/", self.message);
// always assume .wav extension.. // always assume .wav extension..
precache_sound(self.message); precache_sound(self.message);