Fix server-override of local player's palette

This commit is contained in:
MysterD 2021-08-02 23:00:03 -07:00
parent 726f10f231
commit 5625505660

View file

@ -97,6 +97,10 @@ void network_receive_network_players(struct Packet* p) {
if (gNetworkType == NT_CLIENT && globalIndex != 0 && localIndex != 0) { if (gNetworkType == NT_CLIENT && globalIndex != 0 && localIndex != 0) {
gNetworkSystem->save_id(localIndex, networkId); gNetworkSystem->save_id(localIndex, networkId);
} }
} else {
np->modelIndex = modelIndex;
np->paletteIndex = paletteIndex;
network_player_update_model(localIndex);
} }
} }
} }