wootguy / weapon_custom

Custom weapons for Sven Co-op made easy
4 stars 2 forks source link

weapon_custom_sound issue #8

Open cmoki2222 opened 3 weeks ago

cmoki2222 commented 3 weeks ago

Heyo w00t, I'm encountering an issue with weapon_custom_sound where the script does not cache audio sounds properly. Although the audio files are present and work when triggered, the script still throws an error saying "sound not found" when it checks for the path/filename of the sound entity. It seems like the script is not caching or handling the audio correctly, causing unnecessary error logs.

I've heard from people say that the script can handle both .wav path files and sound entities, but it still tries to check for a file path with the name of the weapon_custom_sound entity when a sound entity is used, firing the error even though the sound plays.

123

wootguy commented 2 weeks ago

I've noticed that too but didn't care enough to fix it. It works, but the false errors can be annoying. Don't know which part of the code needs updating.