We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a01db3 commit 038fd0bCopy full SHA for 038fd0b
addons/source-python/packages/source-python/engines/sound.py
@@ -323,6 +323,8 @@ def is_precached(self):
323
324
:rtype: bool
325
"""
326
+ # We can't use engine_sound.is_sound_precached here because it always
327
+ # returns True.
328
return string_tables.soundprecache[self.sample] != INVALID_STRING_INDEX
329
330
@@ -368,5 +370,7 @@ def is_precached(self):
368
370
369
371
372
373
374
375
index = string_tables.soundprecache[self._stream_sample]
376
return index != INVALID_STRING_INDEX
0 commit comments