This commit is contained in:
Ali Gator 2022-12-20 10:47:32 +01:00
parent e43bd48794
commit 75caa2054f

View File

@ -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();