- commit
- 0ea2e2856230d7c824d994951bd006a69a400508
- parent
- 9b540642b391bbe414edff01d5fb3f8014b23719
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2019-10-26 14:29
cleanup
Diffstat
| M | src/logic.js | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logic.js b/src/logic.js
@@ -38,7 +38,7 @@ export const calculateNextGen = function(state) {
38 38 // Conflate all playerevolutions by clearing tiles that would be claimed by multiple players
39 39 for (let y = 0; y < constants.height; y++) {
40 40 for (let x = 0; x < constants.width; x++) {
41 -1 if(board[y][x] == constants.GAIA) continue;
-1 41 if (board[y][x] === constants.GAIA) continue;
42 42 let empty = true;
43 43 board[y][x] = constants.EMPTY;
44 44 for (let p = 1; p < constants.playerCount; p++) {