Fixes string interpolation
This commit is contained in:
parent
42d0b6271f
commit
7d3a0ca265
233 changed files with 758 additions and 690 deletions
|
|
@ -35,7 +35,7 @@ namespace Server.Gumps
|
|||
}
|
||||
else
|
||||
{
|
||||
CommandSystem.Handle( from, String.Format( "{0}Add {1}", CommandSystem.Prefix, m_Type.Name ) );
|
||||
CommandSystem.Handle( from, $"{CommandSystem.Prefix}Add {m_Type.Name}");
|
||||
|
||||
from.SendGump( new CategorizedAddGump( from, m_Parent, page ) );
|
||||
}
|
||||
|
|
@ -268,7 +268,8 @@ namespace Server.Gumps
|
|||
if ( !OldStyle )
|
||||
AddImageTiled( x - (OldStyle ? OffsetSize : 0), y, emptyWidth + (OldStyle ? OffsetSize * 2 : 0), EntryHeight, EntryGumpID );
|
||||
|
||||
AddHtml( x + TextOffsetX, y + ((EntryHeight - 20) / 2), emptyWidth - TextOffsetX, EntryHeight, String.Format( "<center>{0}</center>", m_Category.Caption ), false, false );
|
||||
AddHtml( x + TextOffsetX, y + ((EntryHeight - 20) / 2), emptyWidth - TextOffsetX, EntryHeight,
|
||||
$"<center>{m_Category.Caption}</center>", false, false );
|
||||
|
||||
x += emptyWidth + OffsetSize;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue