mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-23 08:22:58 +00:00
LoadRecordGhosts: Use local unlock state, not consoleplayer availabilities (which might not be set yet) to determine whether a ghost should be visible
This commit is contained in:
parent
2bfcfeb560
commit
24b850a492
1 changed files with 1 additions and 1 deletions
|
|
@ -7851,7 +7851,7 @@ static void P_LoadRecordGhosts(void)
|
|||
if (sameGhosts)
|
||||
{
|
||||
INT32 skin = R_SkinAvailable(cv_skin[0].string);
|
||||
if (skin < 0 || !R_SkinUsable(consoleplayer, skin, false))
|
||||
if (skin < 0 || !R_SkinUsable(-1, skin, false))
|
||||
skin = 0; // use default skin
|
||||
add_ghosts(fmt::format("{}-{}{}", gpath, skins[skin].name, modeprefix), sameGhosts);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue