Fixes string interpolation

This commit is contained in:
Kamron Batman 2018-09-14 13:07:43 -07:00
parent 42d0b6271f
commit 7d3a0ca265
233 changed files with 758 additions and 690 deletions

View file

@ -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;

View file

@ -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]}";
}
}