Skip to content

Commit b3e7320

Browse files
committed
Better log + bug with cb fixed.
1 parent 3c2fa96 commit b3e7320

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

blade-engine/src/com/bladecoder/engine/ink/InkManager.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ private void continueMaximally() {
242242

243243
ActionCallback tmpcb = cb;
244244
cb = null;
245+
sCb = null;
245246
tmpcb.resume();
246247
}
247248
}
@@ -384,6 +385,7 @@ public void runPath(String path, ActionCallback cb) throws Exception {
384385
}
385386

386387
this.cb = cb;
388+
sCb = null;
387389

388390
story.choosePathString(path);
389391
continueMaximally();

blade-engine/src/com/bladecoder/engine/ui/defaults/DefaultSceneScreen.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,8 @@ private void drawDebugText(SpriteBatch batch) {
516516
sbTmp.setLength(0);
517517

518518
if (EngineLogger.lastError != null) {
519-
sbTmp.append(EngineLogger.lastError);
519+
// sbTmp.append(EngineLogger.lastError);
520+
sbTmp.append(EngineLogger.errorBuffer);
520521

521522
color = Color.RED;
522523
} else {

0 commit comments

Comments
 (0)