Merge pull request #8715 from furo321/birthday-confetti

Spawn a confetti when connecting on your DDNet birthday
This commit is contained in:
Dennis Felsing 2024-08-13 08:22:59 +00:00 committed by GitHub
commit ef6fd80bc5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;