Fixes string interpolation
This commit is contained in:
parent
42d0b6271f
commit
7d3a0ca265
233 changed files with 758 additions and 690 deletions
|
|
@ -68,9 +68,9 @@ namespace Server.Gumps
|
|||
public override string Compile( NetState ns )
|
||||
{
|
||||
if ( m_Hue == 0 )
|
||||
return String.Format( "{{ gumppic {0} {1} {2} }}", m_X, m_Y, m_GumpID );
|
||||
return $"{{ gumppic {m_X} {m_Y} {m_GumpID} }}";
|
||||
else
|
||||
return String.Format( "{{ gumppic {0} {1} {2} hue={3} }}", m_X, m_Y, m_GumpID, m_Hue );
|
||||
return $"{{ gumppic {m_X} {m_Y} {m_GumpID} hue={m_Hue} }}";
|
||||
}
|
||||
|
||||
private static byte[] m_LayoutName = Gump.StringToBuffer( "gumppic" );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue