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.
@@ -1636,7 +1636,7 @@ var AudioApi = class {
1636
1636
  this.triggerSubtitle(soundindex);
1637
1637
  }
1638
1638
  loop_sound(entity, channel, soundindex, volume, attenuation) {
1639
- this.system.play({
1639
+ const active = this.system.play({
1640
1640
  entity,
1641
1641
  channel,
1642
1642
  soundIndex: soundindex,
@@ -1645,6 +1645,7 @@ var AudioApi = class {
1645
1645
  looping: true
1646
1646
  });
1647
1647
  this.triggerSubtitle(soundindex);
1648
+ return active;
1648
1649
  }
1649
1650
  stop_entity_sounds(entnum) {
1650
1651
  this.system.stopEntitySounds(entnum);