typo
This commit is contained in:
@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user