mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-18 14:08:19 +00:00
Spawn a confetti when connecting on your DDNet birthday
This commit is contained in:
parent
26cccb7f51
commit
1563b4a56a
|
@ -936,6 +936,8 @@ void CPlayer::ProcessScoreResult(CScorePlayerResult &Result)
|
|||
Server()->ClientName(m_ClientId), Birthday, Birthday > 1 ? "s" : "");
|
||||
GameServer()->SendBroadcast(aBuf, m_ClientId);
|
||||
m_BirthdayAnnounced = true;
|
||||
|
||||
GameServer()->CreateFinishConfetti(GetCharacter()->m_Pos, GetCharacter()->TeamMask());
|
||||
}
|
||||
GameServer()->SendRecord(m_ClientId);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue