Fixed issue with error prone Grid Visitors.
Increased Channel update speed. Renamed Controller Method.
This commit is contained in:
Vendored
+2
-2
@@ -84,7 +84,7 @@ public class PathGridCache implements IPathingGrid
|
||||
used = 0;
|
||||
|
||||
int nodes = myGrid.getNodes().size();
|
||||
ticksUntilReady = 20 + (nodes / 10);
|
||||
ticksUntilReady = 20 + Math.max( 0, nodes / 100 - 20 );
|
||||
channelsByBlocks = nodes * used;
|
||||
channelPowerUsage = (double) channelsByBlocks / 128.0;
|
||||
|
||||
@@ -98,7 +98,7 @@ public class PathGridCache implements IPathingGrid
|
||||
else
|
||||
{
|
||||
int nodes = myGrid.getNodes().size();
|
||||
ticksUntilReady = 20 + (nodes / 10);
|
||||
ticksUntilReady = 20 + Math.max( 0, nodes / 100 - 20 );
|
||||
closedList = new HashSet();
|
||||
semiOpen = new HashSet();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user