Clean up: Bugs, LINQ, constructors, default values, and null checks (#18)

This commit is contained in:
Kamron Batman 2019-03-11 14:29:59 -07:00 • committed by GitHub
parent e748af4430
commit 513e54f70e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1094 changed files with 15913 additions and 21892 deletions

View file

@ -11,10 +11,10 @@ namespace Server.Gumps
{
m_from = from;
AddBackground(0, 0, 245, 145, 9250);
AddButton(157, 101, 247, 248, 1, GumpButtonType.Reply, 0);
AddButton(81, 100, 241, 248, 0, GumpButtonType.Reply, 0);
AddButton(157, 101, 247, 248, 1);
AddButton(81, 100, 241, 248, 0);
AddHtml(21, 20, 203, 70, @"Are you sure you want to use
honor points on yourself?", true, false);
honor points on yourself?", true);
}
public override void OnResponse(NetState sender, RelayInfo info)
@ -22,4 +22,4 @@ honor points on yourself?", true, false);
if (info.ButtonID == 1) HonorVirtue.ActivateEmbrace(m_from);
}
}
}
}