mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +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)
|
if (sameGhosts)
|
||||||
{
|
{
|
||||||
INT32 skin = R_SkinAvailable(cv_skin[0].string);
|
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
|
skin = 0; // use default skin
|
||||||
add_ghosts(fmt::format("{}-{}{}", gpath, skins[skin].name, modeprefix), sameGhosts);
|
add_ghosts(fmt::format("{}-{}{}", gpath, skins[skin].name, modeprefix), sameGhosts);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue