mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-25 23:11:20 +00:00
M_GetConditionString: Hide Cup for UCRP_PODIUMCUP if not unlocked
This commit is contained in:
parent
98e866c393
commit
2ab046fc30
1 changed files with 4 additions and 1 deletions
|
|
@ -1322,7 +1322,10 @@ static const char *M_GetConditionString(condition_t *cn)
|
|||
{
|
||||
if (cup->id != cn->requirement)
|
||||
continue;
|
||||
return va("%s%s %s CUP", completetype, orbetter, cup->name);
|
||||
return va("%s%s %s CUP",
|
||||
completetype, orbetter,
|
||||
(M_CupLocked(cup) ? "???" : cup->name)
|
||||
);
|
||||
}
|
||||
return va("INVALID CUP CONDITION \"%d:%d\"", cn->type, cn->requirement);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue