quake2ts 0.0.480 → 0.0.481

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1842,7 +1842,7 @@ var AudioApi = class {
1842
1842
  this.triggerSubtitle(soundindex);
1843
1843
  }
1844
1844
  loop_sound(entity, channel, soundindex, volume, attenuation) {
1845
- this.system.play({
1845
+ const active = this.system.play({
1846
1846
  entity,
1847
1847
  channel,
1848
1848
  soundIndex: soundindex,
@@ -1851,6 +1851,7 @@ var AudioApi = class {
1851
1851
  looping: true
1852
1852
  });
1853
1853
  this.triggerSubtitle(soundindex);
1854
+ return active;
1854
1855
  }
1855
1856
  stop_entity_sounds(entnum) {
1856
1857
  this.system.stopEntitySounds(entnum);