Skip to content

Commit

Permalink
no skin changing post round either
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamTadeusz committed Sep 19, 2024
1 parent c569be0 commit b8f30d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mp/src/game/server/neo/neo_player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ void CNEO_Player::RequestSetClass(int newClass)

void CNEO_Player::RequestSetSkin(int newSkin)
{
bool canChangeImmediately = NEORules()->GetRoundStatus() != NeoRoundStatus::RoundLive;
const NeoRoundStatus roundStatus = NEORules()->GetRoundStatus();
bool canChangeImmediately = ((roundStatus != NeoRoundStatus::RoundLive) && (roundStatus != NeoRoundStatus::PostRound));

if (canChangeImmediately)
{
Expand Down

0 comments on commit b8f30d3

Please sign in to comment.