quake2ts 0.0.490 → 0.0.493

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.
@@ -2192,6 +2192,12 @@ function pickupPowerup(client, item, time) {
2192
2192
  client.quad_time = newExpiresAt / 1e3;
2193
2193
  } else if (powerupId === PowerupId.DoubleDamage) {
2194
2194
  client.double_time = newExpiresAt / 1e3;
2195
+ } else if (powerupId === PowerupId.Invulnerability) {
2196
+ client.invincible_time = newExpiresAt / 1e3;
2197
+ } else if (powerupId === PowerupId.EnviroSuit) {
2198
+ client.enviro_time = newExpiresAt / 1e3;
2199
+ } else if (powerupId === PowerupId.Rebreather) {
2200
+ client.breather_time = newExpiresAt / 1e3;
2195
2201
  }
2196
2202
  setPickup(inventory, icon, time);
2197
2203
  return true;