Fix Update on Network Status Screen

This commit is contained in:
AlgorithmX2 2014-01-24 10:31:56 -06:00
parent d6aa666068
commit 35d51e23fb

View file

@ -41,7 +41,7 @@ public class ContainerNetworkStatus extends AEBaseContainer
findNode( host, d ); findNode( host, d );
} }
if ( network == null ) if ( network == null && Platform.isServer() )
ip.player.closeScreen(); ip.player.closeScreen();
} }
@ -55,7 +55,7 @@ public class ContainerNetworkStatus extends AEBaseContainer
} }
} }
int delay = 0; int delay = 40;
public long avgAddition; public long avgAddition;
public long powerUsage; public long powerUsage;
@ -91,7 +91,7 @@ public class ContainerNetworkStatus extends AEBaseContainer
public void detectAndSendChanges() public void detectAndSendChanges()
{ {
delay++; delay++;
if ( Platform.isServer() && delay > 1 && network != null ) if ( Platform.isServer() && delay > 15 && network != null )
{ {
delay = 0; delay = 0;