Fixes string interpolation
This commit is contained in:
parent
42d0b6271f
commit
7d3a0ca265
233 changed files with 758 additions and 690 deletions
|
|
@ -404,9 +404,9 @@ namespace Server.Engines.Reports
|
|||
if ( pl.Faction.Commander == pl.Mobile )
|
||||
office = "Commanding Lord";
|
||||
else if ( pl.Finance != null )
|
||||
office = String.Format( "{0} Finance Minister", pl.Finance.Definition.FriendlyName );
|
||||
office = $"{pl.Finance.Definition.FriendlyName} Finance Minister";
|
||||
else if ( pl.Sheriff != null )
|
||||
office = String.Format( "{0} Sheriff", pl.Sheriff.Definition.FriendlyName );
|
||||
office = $"{pl.Sheriff.Definition.FriendlyName} Sheriff";
|
||||
else
|
||||
office = "";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue