- commit
- 6df9a9024a7750f6f1b04d213e6a9e9bc80a5d81
- parent
- 8357848490604921bd3e1674b8a8faf02afa82e3
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2019-10-26 15:54
fix 01_survive win condition
Diffstat
| M | scenarios/01_01survive.js | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/scenarios/01_01survive.js b/scenarios/01_01survive.js
@@ -7,7 +7,7 @@ export default {
7 7 "description": "Try and survive for 100 turns.",
8 8 "board": scenBoard,
9 9 "winCondition": function(state) {
10 -1 if (!logic.compareBoards(scenBoard, state.game.board)) {
-1 10 if (logic.compareBoards(scenBoard, state.game.board)) {
11 11 return false;
12 12 }
13 13 if (state.game.turnCounter > 100) {