Skip to content

Commit

Permalink
Update server info on player class changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaffeine committed Oct 7, 2023
1 parent efb28db commit 0f268fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/game/server/infclass/infcplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,8 @@ void CInfClassPlayer::SetClass(PLAYERCLASS NewClass)

GameController()->SetPlayerInfected(GetCID(), IsInfected());
SendClassIntro();

Server()->ExpireServerInfo();
}

void CInfClassPlayer::UpdateSkin()
Expand Down

0 comments on commit 0f268fc

Please sign in to comment.