Update Litecraft.java

pull/12/head
hYdos 2020-02-28 06:31:16 +10:00
parent aa52472177
commit 541cc3e0e8
1 changed files with 3 additions and 2 deletions

View File

@ -88,11 +88,10 @@ public class Litecraft extends Game
//FPS stuff sorry if i forget to remove whitespace
if (System.currentTimeMillis() > frameTimer + 1000) // wait for one second
{
this.dbgStats.set(fps, ups, tps, binds);
this.dbgStats.set(fps, ups, tps, 0);
this.fps = 0;
this.ups = 0;
this.tps = 0;
this.binds = 0;
this.frameTimer += 1000; // reset the wait time
}
if (ginger3D.gingerRegister.currentScreen == null)
@ -107,6 +106,8 @@ public class Litecraft extends Game
ginger3D.renderWorld(this, this.world);
ginger3D.renderOverlays(this);
ginger3D.postRender();
dbgStats.w = binds;
this.binds = 0;
}
@Override