typo
This commit is contained in:
parent
e43bd48794
commit
75caa2054f
@ -181,7 +181,7 @@
|
|||||||
async draw2dNew() {
|
async draw2dNew() {
|
||||||
if (!this.canDraw) return;
|
if (!this.canDraw) return;
|
||||||
const initialState = this.randomInitialState();
|
const initialState = this.randomInitialState();
|
||||||
let board = evolve2d(initialState, this.selectRules);
|
let board = evolve2d(initialState, this.selectedRules);
|
||||||
if (this.loop) return this.draw2dNext(board);
|
if (this.loop) return this.draw2dNext(board);
|
||||||
else this.draw2d(board);
|
else this.draw2d(board);
|
||||||
this.toggleStop();
|
this.toggleStop();
|
||||||
|
Loading…
Reference in New Issue
Block a user