Removes literal variables (#257)

This commit is contained in:
Kamron Batman 2020-09-18 18:41:26 -07:00 • committed by GitHub
parent 580da8a0cc
commit 4d6e584b6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
359 changed files with 1306 additions and 1306 deletions

View file

@ -23,7 +23,7 @@ namespace Server.Misc
{
case 0x002A: // *i resign from my guild*
{
((Guild)@from.Guild)?.RemoveMember(@from);
((Guild)from.Guild)?.RemoveMember(from);
break;
}
@ -31,16 +31,16 @@ 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 : {0}", from.ShortTermMurders);
from.SendMessage("Long Term Murders : {0}", from.Kills);
}
else
{
@from.SendMessage(
from.SendMessage(
0x3B2,
"Short Term Murders: {0} Long Term Murders: {1}",
@from.ShortTermMurders,
@from.Kills
from.ShortTermMurders,
from.Kills
);
}
@ -48,7 +48,7 @@ namespace Server.Misc
}
case 0x0035: // i renounce my young player status*
{
if (@from is PlayerMobile mobile && mobile.Young && !mobile.HasGump<RenounceYoungGump>())
if (from is PlayerMobile mobile && mobile.Young && !mobile.HasGump<RenounceYoungGump>())
{
mobile.SendGump(new RenounceYoungGump());
}