Skip to content

Commit

Permalink
MOHAWK: Fix error at the end of the Myst credits
Browse files Browse the repository at this point in the history
  • Loading branch information
bgK committed Mar 5, 2016
1 parent 0bc1f8a commit cfa2d62
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion engines/mohawk/myst_stacks/credits.cpp
Expand Up @@ -67,8 +67,10 @@ void Credits::runPersistentScripts() {
_curImage++;

// After the 6th image has shown, it's time to quit
if (_curImage == 7)
if (_curImage == 7) {
_vm->quitGame();
return;
}

// Draw next image
_vm->drawCardBackground();
Expand Down

0 comments on commit cfa2d62

Please sign in to comment.