This PR makes player colors unique per player, making them more distinct.
Also adds color indicators to the player list in the main menu.
Also fixes an issue where only the local player time played was being shown as each player in the list's time played.
If a player tries to click a color that is taken, its button is darkened and does nothing. If the player doesn't select a color, they get assigned a random unused color. If all colors are taken (at a large player count) a random untaken color is assigned, if failing resulting in color overlap (again, only at really large player counts for this type of game).
This PR makes player colors unique per player, making them more distinct. Also adds color indicators to the player list in the main menu.
Also fixes an issue where only the local player time played was being shown as each player in the list's time played.
https://github.com/apetavern/sbox-grubs/assets/66768086/f950096d-41a9-45b9-a343-b644a0c51871
If a player tries to click a color that is taken, its button is darkened and does nothing. If the player doesn't select a color, they get assigned a random unused color. If all colors are taken (at a large player count) a random untaken color is assigned, if failing resulting in color overlap (again, only at really large player counts for this type of game).
https://github.com/apetavern/sbox-grubs/assets/66768086/b7683d20-fc70-4952-b10f-33959cfd3d8e