Fixes string interpolation
This commit is contained in:
parent
42d0b6271f
commit
7d3a0ca265
233 changed files with 758 additions and 690 deletions
|
|
@ -144,7 +144,7 @@ namespace Server.Engines.Events
|
|||
public PlayerBones( String name )
|
||||
: base( Utility.RandomMinMax( 0x0ECA, 0x0ED2 ) )
|
||||
{
|
||||
Name = String.Format( "{0}'s bones", name );
|
||||
Name = $"{name}'s bones";
|
||||
|
||||
switch( Utility.Random( 10 ) )
|
||||
{
|
||||
|
|
@ -190,7 +190,7 @@ namespace Server.Engines.Events
|
|||
{
|
||||
m_DeadPlayer = player;
|
||||
|
||||
Name = ( player != null ) ? String.Format( "{0}'s {1}", player.Name, m_Name ) : m_Name;
|
||||
Name = ( player != null ) ? $"{player.Name}'s {m_Name}" : m_Name;
|
||||
|
||||
Body = 0x93;
|
||||
BaseSoundID = 0x1c3;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue