Fixes #2623: Network Tool not removing facades with shift rightlick.

(cherry picked from commit 4eeb554)
This commit is contained in:
yueh 2016-11-16 05:48:16 +08:00 committed by xsun2001
parent 23877ab72c
commit 1f22bc4205
1 changed files with 2 additions and 1 deletions

View File

@ -119,7 +119,8 @@ public class ToolNetworkTool extends AEBaseItem implements IGuiItem, IAEWrench,
if( te instanceof IPartHost )
{
final SelectedPart part = ( (IPartHost) te ).selectPart( mop.hitVec );
if( part.part != null )
if( part.part != null || part.facade != null )
{
if( part.part instanceof INetworkToolAgent && !( (INetworkToolAgent) part.part ).showNetworkInfo( mop ) )
{