mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Record skin wins only for machine local players
This commit is contained in:
parent
6023fa4825
commit
3386c70f9c
1 changed files with 1 additions and 1 deletions
|
|
@ -1314,7 +1314,7 @@ void P_DoPlayerExit(player_t *player, pflags_t flags)
|
||||||
PR_SaveProfiles();
|
PR_SaveProfiles();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (P_IsLocalPlayer(player) && player->skin < numskins)
|
if (P_IsMachineLocalPlayer(player) && player->skin < numskins)
|
||||||
{
|
{
|
||||||
skins[player->skin].records.wins++;
|
skins[player->skin].records.wins++;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue