Fixes string interpolation
This commit is contained in:
parent
42d0b6271f
commit
7d3a0ca265
233 changed files with 758 additions and 690 deletions
|
|
@ -46,7 +46,7 @@ namespace Server.Items
|
|||
set => m_Maker = value;
|
||||
}
|
||||
|
||||
public override string DefaultName => String.Format("A Holiday Bell From {0}", Giver);
|
||||
public override string DefaultName => $"A Holiday Bell From {Giver}";
|
||||
|
||||
private string m_Maker;
|
||||
private int m_SoundID;
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@ namespace Server.Items
|
|||
if ( idx < 0 || idx >= m_PlaceNames.Length )
|
||||
return "a snowy scene";
|
||||
|
||||
return String.Format( "a snowy scene of {0}", m_PlaceNames[idx] );
|
||||
return $"a snowy scene of {m_PlaceNames[idx]}";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue