Skip to content

Commit

Permalink
changed weapon respawn time from 15 to 30
Browse files Browse the repository at this point in the history
  • Loading branch information
JSaurusRex committed Jun 14, 2024
1 parent aafcaed commit 53115fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/game/server/entities/pickup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ void CPickup::Tick()
if(pChr->IncreaseHealth(1))
{
GameServer()->CreateSound(m_Pos, SOUND_PICKUP_HEALTH);
RespawnTime = 15; //todo, not hardcode >:(
RespawnTime = 30; //todo, not hardcode >:(
}
break;

Expand Down Expand Up @@ -106,7 +106,7 @@ void CPickup::Tick()
if(pChr->IncreaseArmor(1))
{
GameServer()->CreateSound(m_Pos, SOUND_PICKUP_ARMOR);
RespawnTime = 15; //todo, not hardcode >:(
RespawnTime = 30; //todo, not hardcode >:(
}
break;

Expand Down Expand Up @@ -165,7 +165,7 @@ void CPickup::Tick()
if(m_Subtype >= 0 && m_Subtype < NUM_WEAPONS && (!pChr->GetWeaponGot(m_Subtype) ||
(pChr->GetWeaponAmmo(m_Subtype) != -1 && pChr->GetWeaponAmmo(m_Subtype) != 10)))
{
RespawnTime = 15;
RespawnTime = 30;
pChr->GiveWeapon(m_Subtype, false, 10);

if(m_Subtype == WEAPON_GRENADE)
Expand Down

0 comments on commit 53115fb

Please sign in to comment.