DynamicSaveStrategy will now properly check Item.OnDecay()
This commit is contained in:
parent
b13718ca01
commit
e336c2920c
1 changed files with 4 additions and 1 deletions
|
|
@ -240,7 +240,10 @@ namespace Server
|
|||
|
||||
while( _decayBag.TryTake( out item ) )
|
||||
{
|
||||
item.Delete();
|
||||
if( item.OnDecay() )
|
||||
{
|
||||
item.Delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue