Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TTT: fixed colour issues if not all players have same model
If the random model for a round was a colourable model, any players with their own custom special rainbow seahorse models would also get a colour applied. Fixed by applying colour to a player only if their specific model is allowed to have it. To prevent overrides of PlayerSetModel from overriding this colouring behaviour, it has been moved to a TTTPlayerSetColor hook, which is always called after PlayerSetModel.
- Loading branch information
Showing
3 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters