Fixes string interpolation
This commit is contained in:
parent
42d0b6271f
commit
7d3a0ca265
233 changed files with 758 additions and 690 deletions
|
|
@ -74,12 +74,13 @@ namespace Server.Gumps
|
|||
if ( button >= 0 && button < 8 )
|
||||
{
|
||||
from.SendGump( new AddDoorGump( m_Type ) );
|
||||
CommandSystem.Handle( from, String.Format( "{0}Add {1} {2}", CommandSystem.Prefix, m_Types[m_Type].m_Type.Name, (DoorFacing) button ) );
|
||||
CommandSystem.Handle( from,
|
||||
$"{CommandSystem.Prefix}Add {m_Types[m_Type].m_Type.Name} {(DoorFacing) button}");
|
||||
}
|
||||
else if ( button == 8 )
|
||||
{
|
||||
from.SendGump( new AddDoorGump( m_Type ) );
|
||||
CommandSystem.Handle( from, String.Format( "{0}Link", CommandSystem.Prefix ) );
|
||||
CommandSystem.Handle( from, $"{CommandSystem.Prefix}Link");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue