Code cleanup (#188)
This commit is contained in:
parent
df53c16620
commit
010fd9402a
185 changed files with 1052 additions and 1271 deletions
|
|
@ -81,10 +81,15 @@ namespace Server.Mobiles
|
|||
|
||||
m_CanTalk = false;
|
||||
|
||||
Timer.DelayCall(TimeSpan.FromSeconds(Utility.RandomMinMax(20, 30)), () => { m_CanTalk = true; });
|
||||
Timer.DelayCall(TimeSpan.FromSeconds(Utility.RandomMinMax(20, 30)), ResetCanTalk);
|
||||
}
|
||||
}
|
||||
|
||||
private void ResetCanTalk()
|
||||
{
|
||||
m_CanTalk = true;
|
||||
}
|
||||
|
||||
public override void Serialize(IGenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue