quake2ts 0.0.248 → 0.0.251

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.
@@ -1761,6 +1761,7 @@ var Entity = class {
1761
1761
  }
1762
1762
  if (type) {
1763
1763
  const ammo = this.client.inventory.ammo;
1764
+ const angles = this.client.v_angle || this.angles;
1764
1765
  return {
1765
1766
  type,
1766
1767
  get cellCount() {
@@ -1769,7 +1770,7 @@ var Entity = class {
1769
1770
  set cellCount(v) {
1770
1771
  ammo.counts[AmmoType.Cells] = v;
1771
1772
  },
1772
- angles: this.angles,
1773
+ angles,
1773
1774
  origin: this.origin,
1774
1775
  health: this.health
1775
1776
  };