function call typo

This commit is contained in:
Ali Gator 2022-12-21 23:53:27 +01:00
parent 7c9d7d2d5b
commit 2858eb2d27

View File

@ -165,7 +165,7 @@
// draw 2d automaton from the last known generated board
const draw2dLast = async () => {
if (!store.canDraw) return;
if (store.loop) return store.draw2dNext(store.lastBoard);
if (store.loop) return draw2dNext(store.lastBoard);
else draw2d(store.lastBoard);
store.toggleStop();
};