fix: Update LabelTo, SendMessage, etc to Interpolated Strings (#1283)

This commit is contained in:
Fabrizio 2022-11-29 04:58:12 +01:00 • committed by GitHub
parent 0facd73842
commit 537526a328
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
94 changed files with 514 additions and 769 deletions

View file

@ -31,16 +31,14 @@ namespace Server.Misc
{
if (!Core.SE)
{
from.SendMessage("Short Term Murders : {0}", from.ShortTermMurders);
from.SendMessage("Long Term Murders : {0}", from.Kills);
from.SendMessage($"Short Term Murders : {from.ShortTermMurders}");
from.SendMessage($"Long Term Murders : {from.Kills}");
}
else
{
from.SendMessage(
0x3B2,
"Short Term Murders: {0} Long Term Murders: {1}",
from.ShortTermMurders,
from.Kills
$"Short Term Murders: {from.ShortTermMurders} Long Term Murders: {from.Kills}"
);
}