Fix server-override of local player's palette

This commit is contained in:
MysterD 2021-08-02 23:00:03 -07:00
parent 63fd8d997c
commit e583a63c71
1 changed files with 4 additions and 0 deletions

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);
} }
} }
} }