mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
fixed last commit
This commit is contained in:
parent
8178302e02
commit
3dffd6bc9c
|
@ -122,7 +122,7 @@ void CPickup::Tick()
|
|||
str_format(aBuf, sizeof(aBuf), "pickup player='%d:%s' item=%d/%d",
|
||||
pChr->GetPlayer()->GetCID(), Server()->ClientName(pChr->GetPlayer()->GetCID()), m_Type);
|
||||
GameServer()->Console()->Print(IConsole::OUTPUT_LEVEL_DEBUG, "game", aBuf);
|
||||
int RespawnTime = g_pData->m_aPickups[m_Type].m_RespawnTime;
|
||||
int RespawnTime = g_pData->m_aPickups[m_Type].m_Respawntime;
|
||||
if(RespawnTime >= 0)
|
||||
m_SpawnTick = Server()->Tick() + Server()->TickSpeed() * RespawnTime;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue