quake2ts 0.0.491 → 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.
@@ -2392,6 +2392,12 @@ function pickupPowerup(client, item, time) {
2392
2392
  client.quad_time = newExpiresAt / 1e3;
2393
2393
  } else if (powerupId === PowerupId.DoubleDamage) {
2394
2394
  client.double_time = newExpiresAt / 1e3;
2395
+ } else if (powerupId === PowerupId.Invulnerability) {
2396
+ client.invincible_time = newExpiresAt / 1e3;
2397
+ } else if (powerupId === PowerupId.EnviroSuit) {
2398
+ client.enviro_time = newExpiresAt / 1e3;
2399
+ } else if (powerupId === PowerupId.Rebreather) {
2400
+ client.breather_time = newExpiresAt / 1e3;
2395
2401
  }
2396
2402
  setPickup(inventory, icon, time);
2397
2403
  return true;