From 887ecd8266e16caf9cf9fc0096c58324e2a127e4 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+Agent-11@users.noreply.github.com> Date: Mon, 1 Jan 2024 11:48:11 -0500 Subject: [PATCH] Make player text color base off of CAP --- src/pc/network/network_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pc/network/network_utils.c b/src/pc/network/network_utils.c index aafe2b64..09abb416 100644 --- a/src/pc/network/network_utils.c +++ b/src/pc/network/network_utils.c @@ -36,7 +36,7 @@ u8* network_get_player_text_color(u8 localIndex) { struct NetworkPlayer* np = &gNetworkPlayers[localIndex]; static u8 sTextRgb[3] = { 0 }; for (int i = 0; i < 3; i++) { - sTextRgb[i] = 127 + np->overridePalette.parts[SHIRT][i] / 2; + sTextRgb[i] = 127 + np->overridePalette.parts[CAP][i] / 2; } return sTextRgb;