Fixes string interpolation
This commit is contained in:
parent
42d0b6271f
commit
7d3a0ca265
233 changed files with 758 additions and 690 deletions
|
|
@ -33,7 +33,7 @@ namespace Server.Gumps
|
|||
if ( inventory.Owner == from )
|
||||
AddButton( 10, y, 0xFA5, 0xFA7, i + 1, GumpButtonType.Reply, 0 );
|
||||
|
||||
AddLabel( 45, y, 0x481, String.Format( "{0} ({1})", inventory.ShopName, inventory.VendorName ) );
|
||||
AddLabel( 45, y, 0x481, $"{inventory.ShopName} ({inventory.VendorName})");
|
||||
|
||||
TimeSpan expire = inventory.ExpireTime - DateTime.UtcNow;
|
||||
int hours = (int) expire.TotalHours;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue