Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
When locked to a team, attempting to switch to a restricted team, the dialog variable for telling the player which side they were playing as is not displaying.
The message in-game appears as "You have played as %1 for too long...." instead of replacing %1 with variables for 'blufor' or 'opfor'
To anyone else having the same issue, I managed a slight work-around. Not sure it's the best way, or even proper way to achieve it, but it does work.
original starting at line 41:
If this can be considered a 'proper' fix, then go ahead review and close out, otherwise, still open to suggestions on any better method to do this.