generic town criers, misc generics, region cleanups, container generic, yadda yadda
This commit is contained in:
parent
03adafb13e
commit
90c2233e4c
16 changed files with 114 additions and 167 deletions
|
|
@ -200,17 +200,13 @@ namespace Server.Multis
|
|||
m_InternalizeTimer = null;
|
||||
}
|
||||
|
||||
ArrayList toRemove = new ArrayList();
|
||||
List<Item> toRemove = new List<Item>();
|
||||
foreach ( Item item in this.Items )
|
||||
{
|
||||
if ( item is PackingBox && item.Items.Count == 0 )
|
||||
toRemove.Add( item );
|
||||
}
|
||||
|
||||
foreach ( Item item in toRemove )
|
||||
{
|
||||
item.Delete();
|
||||
}
|
||||
|
||||
if ( this.TotalItems == 0 )
|
||||
Delete();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue