- fixed spacing of Strife's merchant's texts.

This commit is contained in:
Christoph Oelckers 2019-03-20 00:49:00 +01:00 committed by drfrag
parent 3f96ec7955
commit b5fb443258

View file

@ -141,10 +141,9 @@ class ConversationMenu : Menu
let ReplyText = Stringtable.Localize(reply.Reply);
if (reply.NeedsGold)
{
let trade = Stringtable.Localize("$TXT_TRADE");
ReplyText.AppendFormat(" %s", Stringtable.Localize("$TXT_TRADE"));
let amount = String.Format("%u", reply.PrintAmount);
trade.Replace("%u", amount);
ReplyText = ReplyText .. trade;
ReplyText.Replace("%u", amount);
}
let ReplyLines = SmallFont.BreakLines (ReplyText, ReplyWidth);