Skip to content

Commit

Permalink
Change command output colour for spectators
Browse files Browse the repository at this point in the history
In reference to xtreme8000#159
  • Loading branch information
groggone authored Jun 22, 2022
1 parent f83760e commit b44db5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ void read_PacketChatMessage(void* data, int len) {
case TEAM_1: color = rgb(gamestate.team_1.red, gamestate.team_1.green, gamestate.team_1.blue); break;
case TEAM_2: color = rgb(gamestate.team_2.red, gamestate.team_2.green, gamestate.team_2.blue); break;
case TEAM_SPECTATOR:
default: color = rgb(0, 0, 0); break;
default: color = rgb(255, 255, 255); break;
}
break;
default:
Expand Down

0 comments on commit b44db5d

Please sign in to comment.