Spawn a confetti when connecting on your DDNet birthday

This commit is contained in:
furo 2024-08-12 23:14:07 +02:00
parent 26cccb7f51
commit 1563b4a56a

View file

@ -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;