- commit
- 815c35f21128ef685c9b63112d87e57a4a0130bc
- parent
- 11708e3bfd6764c61e4e27552ca7764c214ed46b
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2019-10-26 15:23
initialize winState
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
@@ -5,7 +5,7 @@ export default {
5 5 "description": "Try and survive for 100 turns.",
6 6 "board": scenBoard,
7 7 "winCondition" : function(gameState){
8 -1 var winState;
-1 8 var winState = {};
9 9 if(!logic.compareBoards(scenBoard, gameState.board)) {
10 10 winState.lost = true;
11 11 winState.decided = true;