Skip to content

Commit 9d73411

Browse files
committed
fix: EndGameAction return true to stops the verb execution.
1 parent 6b927df commit 9d73411

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

blade-engine/src/com/bladecoder/engine/actions/EndGameAction.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ public boolean run(VerbRunner cb) {
3030
ui.setCurrentScreen(UI.Screens.CREDIT_SCREEN);
3131

3232
World.getInstance().endGame();
33-
34-
cb.cancel();
3533

36-
return false;
34+
return true;
3735
}
3836
}

0 commit comments

Comments
 (0)