From e583a63c71a51aa9f4346972954b6425c6b33c03 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 c356ddd6..e9abed3c 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); } } }