Fixed item name ~ not replaced in detail screen

This commit is contained in:
JappaWakka 2025-01-25 14:10:04 +01:00
parent 536874888a
commit 2e0110ae40
1 changed files with 1 additions and 1 deletions

View File

@ -568,7 +568,7 @@ Public Class NewInventoryScreen
itemSubTitle = Localization.GetString("inventory_screen_ItemSubtitle_BattleItem", "Battle Item")
End Select
infoBatch.DrawString(FontManager.TextFont, itemTitle, New Vector2(80, 20), Color.White, 0F, Vector2.Zero, 2.0F, SpriteEffects.None, 0F)
infoBatch.DrawString(FontManager.TextFont, itemTitle.Replace("~", " "), New Vector2(80, 20), Color.White, 0F, Vector2.Zero, 2.0F, SpriteEffects.None, 0F)
infoBatch.DrawString(FontManager.TextFont, itemSubTitle, New Vector2(80, 46), Color.LightGray, 0F, Vector2.Zero, 2.0f, SpriteEffects.None, 0F)
infoBatch.DrawString(FontManager.TextFont, itemDescription.CropStringToWidth(FontManager.TextFont, 1.0F, 430), New Vector2(28, 84), Color.LightGray, 0F, Vector2.Zero, 1.0F, SpriteEffects.None, 0F)