Added missing player retranslation

Play-scoped team changing function.
This commit is contained in:
Boondorl 2024-05-25 22:41:30 -04:00 committed by Ricardo Luís Vaz Silva
parent 53270f0bc8
commit ab20b75c14
2 changed files with 2 additions and 1 deletions

View file

@ -262,6 +262,7 @@ bool FTeam::ChangeTeam(unsigned int pNum, unsigned int newTeam)
return false;
players[pNum].userinfo.TeamChanged(newTeam);
R_BuildPlayerTranslation(pNum);
return true;
}

View file

@ -2989,7 +2989,7 @@ struct Team native
native String mName;
native static bool IsValid(uint teamIndex);
native static bool ChangeTeam(uint playerNumber, uint newTeamIndex);
native play static bool ChangeTeam(uint playerNumber, uint newTeamIndex);
native Color GetPlayerColor() const;
native int GetTextColor() const;