Champion spawn corpses should decay after 1 minute.
This commit is contained in:
parent
a62fbec243
commit
0a34928c87
1 changed files with 4 additions and 0 deletions
|
|
@ -507,6 +507,10 @@ namespace Server.Engines.CannedEvil
|
|||
|
||||
if ( m.Deleted )
|
||||
{
|
||||
if( m.Corpse != null && !m.Corpse.Deleted )
|
||||
{
|
||||
((Corpse)m.Corpse).BeginDecay( TimeSpan.FromMinutes( 1 ));
|
||||
}
|
||||
m_Creatures.RemoveAt( i );
|
||||
--i;
|
||||
++m_Kills;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue