securetrade race condition

This commit is contained in:
mark 2011-12-18 05:09:31 +00:00
parent 2a21388f39
commit 28f3bd15b2

View file

@ -66,7 +66,7 @@ namespace Server.Items
public override bool IsAccessibleTo( Mobile check )
{
if ( !IsChildOf( check ) )
if ( !IsChildOf( check ) || m_Trade == null || !m_Trade.Valid )
return false;
return base.IsAccessibleTo( check );