From 5625505660cbda08e4aa556a243585886ae288c8 Mon Sep 17 00:00:00 2001 From: MysterD Date: Mon, 2 Aug 2021 23:00:03 -0700 Subject: [PATCH] Fix server-override of local player's palette --- src/pc/network/packets/packet_network_players.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pc/network/packets/packet_network_players.c b/src/pc/network/packets/packet_network_players.c index c356ddd62..e9abed3cd 100644 --- a/src/pc/network/packets/packet_network_players.c +++ b/src/pc/network/packets/packet_network_players.c @@ -97,6 +97,10 @@ void network_receive_network_players(struct Packet* p) { if (gNetworkType == NT_CLIENT && globalIndex != 0 && localIndex != 0) { gNetworkSystem->save_id(localIndex, networkId); } + } else { + np->modelIndex = modelIndex; + np->paletteIndex = paletteIndex; + network_player_update_model(localIndex); } } }