Fixes string interpolation
This commit is contained in:
parent
42d0b6271f
commit
7d3a0ca265
233 changed files with 758 additions and 690 deletions
|
|
@ -142,7 +142,7 @@ namespace Server.Guilds
|
|||
{
|
||||
TextDefinition[] defs = new TextDefinition[aryLength];
|
||||
|
||||
string name = String.Format( "{0}{1}", pm.Name, ( player.GuildFealty == pm && player.GuildFealty != guild.Leader ) ? " *" : "" );
|
||||
string name = $"{pm.Name}{((player.GuildFealty == pm && player.GuildFealty != guild.Leader) ? " *" : "")}";
|
||||
|
||||
if ( pm == player )
|
||||
name = Color( name, 0x006600 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue