Code cleanup (#188)
This commit is contained in:
parent
df53c16620
commit
010fd9402a
185 changed files with 1052 additions and 1271 deletions
|
|
@ -230,7 +230,7 @@ namespace Server.Mobiles
|
|||
Frozen = true;
|
||||
|
||||
if (m_SculptedBy == null || Map == Map.Internal) // Remove preview statues
|
||||
Timer.DelayCall(TimeSpan.Zero, Delete);
|
||||
Timer.DelayCall(Delete);
|
||||
}
|
||||
|
||||
public void Sculpt(Mobile by)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
using System;
|
||||
using Server.Gumps;
|
||||
using Server.Mobiles;
|
||||
using Server.Multis;
|
||||
|
|
@ -86,7 +85,8 @@ namespace Server.Items
|
|||
|
||||
m_Statue = reader.ReadMobile() as CharacterStatue;
|
||||
|
||||
if (m_Statue?.SculptedBy == null || Map == Map.Internal) Timer.DelayCall(TimeSpan.Zero, Delete);
|
||||
if (m_Statue?.SculptedBy == null || Map == Map.Internal)
|
||||
Timer.DelayCall(Delete);
|
||||
}
|
||||
|
||||
public void InvalidateHue()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue