Remove quotation marks from UC_UNLOCKABLE condition text

This commit is contained in:
toaster 2024-04-10 17:20:45 +01:00
parent e46f246c95
commit 9383551cc3

View file

@ -2417,7 +2417,7 @@ static const char *M_GetConditionString(condition_t *cn)
return work;
}
case UC_UNLOCKABLE: // Requires unlockable x to be obtained
return va("get \"%s\"",
return va("get %s",
gamedata->unlocked[cn->requirement-1]
? unlockables[cn->requirement-1].name
: "???");