From 75caa2054f55b58143e13e0052019bdd1d30a675 Mon Sep 17 00:00:00 2001 From: Gator Date: Tue, 20 Dec 2022 10:47:32 +0100 Subject: [PATCH] typo --- src/components/CanvasBoard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/CanvasBoard.vue b/src/components/CanvasBoard.vue index a526153..59dde32 100644 --- a/src/components/CanvasBoard.vue +++ b/src/components/CanvasBoard.vue @@ -181,7 +181,7 @@ async draw2dNew() { if (!this.canDraw) return; const initialState = this.randomInitialState(); - let board = evolve2d(initialState, this.selectRules); + let board = evolve2d(initialState, this.selectedRules); if (this.loop) return this.draw2dNext(board); else this.draw2d(board); this.toggleStop();