mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-06 08:57:45 +07:00
Debugging disabled
This commit is contained in:
parent
171da8cf9b
commit
9fab556e81
@ -1052,8 +1052,7 @@ public class HierarchyPathFinder implements Runnable{
|
||||
}
|
||||
|
||||
fieldCache.lastUpdateId = state.updateId;
|
||||
//TODO: 30 iterations every frame is incredibly slow and terrible and drops the FPS on mobile devices significantly.
|
||||
int maxIterations = 30; //TODO higher/lower number?
|
||||
int maxIterations = 30; //TODO higher/lower number? is this still too slow?
|
||||
int i = 0;
|
||||
boolean recalc = false;
|
||||
|
||||
@ -1118,7 +1117,7 @@ public class HierarchyPathFinder implements Runnable{
|
||||
}
|
||||
|
||||
request.lastTargetTile = any ? tileOn : null;
|
||||
if(true && tileOn != null){
|
||||
if(debug && tileOn != null){
|
||||
Fx.placeBlock.at(tileOn.worldx(), tileOn.worldy(), 1);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user