Missing "%d" when formatting sell prices.
This commit is contained in:
parent
befcea51d3
commit
88246020a3
2 changed files with 3 additions and 3 deletions
|
|
@ -546,7 +546,7 @@ Class DemolitionistMenuStoreItem : DemolitionistMenuListItem
|
|||
let def = GetDefaultByType(inv);
|
||||
if ( bSell )
|
||||
{
|
||||
pricelabel = String.Format("\cd¥\c-",price);
|
||||
pricelabel = String.Format("\cd¥%d\c-",price);
|
||||
int cur = (inv is 'CandyGun')?(players[consoleplayer].mo.CountInv("CandyGunSpares")+1):players[consoleplayer].mo.CountInv(inv);
|
||||
if ( (cur > 1) || (inv is 'Ammo') ) label = String.Format("%s (%d/%d)",def.GetTag(),amt,cur);
|
||||
else label = def.GetTag();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue