mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-02 11:10:50 +03:00
Fixed maxPhysicsTime reset
This commit is contained in:
@@ -66,6 +66,7 @@ public class PhysicsProcess implements AsyncProcess{
|
||||
|
||||
PerfCounter.unitPhysicsWait.end();
|
||||
PerfCounter.unitPhysicsAsync.add(maxPhysicsTime);
|
||||
maxPhysicsTime = 0;
|
||||
|
||||
//move entities
|
||||
for(PhysicRef ref : refs){
|
||||
|
||||
Reference in New Issue
Block a user