samples/games/chess: Fixed exit following game still running confirmation
authorJerome St-Louis <jerome@ecere.com>
Wed, 3 Aug 2016 00:28:08 +0000 (20:28 -0400)
committerJerome St-Louis <jerome@ecere.com>
Wed, 3 Aug 2016 00:28:08 +0000 (20:28 -0400)
samples/games/chess/src/chess.ec

index 1585047..4688a7a 100644 (file)
@@ -663,6 +663,7 @@ class Chess : Window
       {
          case newAIGame:    aiItem.NotifySelect(this, aiItem, 0); break;
          case newLocalGame: localItem.NotifySelect(this, localItem, 0); break;
+         case close:        Destroy(0); break;
       }
    }