Closed genevictor closed 13 years ago
Sorry if this is not the best way/place to report. I do not know how to branch/commit.
In CCTimer.java:
public void update(float dt) { if (elapsed == -1) { elapsed = 0; } else { elapsed += dt; } if (elapsed >= interval) { if(callback != null) { //callback.update(dt); // original callback.update(elapsed); // fixed } else { try { invocation.invoke(target, elapsed); } catch (Exception e) { e.printStackTrace(); } } elapsed = 0; } }
Sorry if this is not the best way/place to report. I do not know how to branch/commit.
In CCTimer.java: