diff --git a/core/src/fluddokt/opsu/fake/StateBasedGame.java b/core/src/fluddokt/opsu/fake/StateBasedGame.java index d467b56c..6c1441c2 100644 --- a/core/src/fluddokt/opsu/fake/StateBasedGame.java +++ b/core/src/fluddokt/opsu/fake/StateBasedGame.java @@ -97,7 +97,7 @@ public void addState(BasicGameState state) // state.init(gc, this); } - public void renderCurrentState() throws SlickException + public void updateAndRenderCurrentState() throws SlickException { int deltaTime = Opsu.getDeltaTime(); diff --git a/core/src/itdelatrisu/opsu/Opsu.java b/core/src/itdelatrisu/opsu/Opsu.java index 9ec2721c..de615c6c 100644 --- a/core/src/itdelatrisu/opsu/Opsu.java +++ b/core/src/itdelatrisu/opsu/Opsu.java @@ -304,7 +304,7 @@ public void render() table.addActor(loadingLabel); } else - renderCurrentState(); + updateAndRenderCurrentState(); } catch (SlickException e) { e.printStackTrace(); error("SlickErrorRender", e); @@ -334,7 +334,7 @@ public void pause() //super.pause(); container.loseFocus(); try { - renderCurrentState(); // is really needed? + updateAndRenderCurrentState(); // is really needed? } catch (SlickException e) { e.printStackTrace(); }