From b30d43727408e710b0840be2cf552e400354c3d6 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Wed, 15 Apr 2020 09:52:59 -0400 Subject: [PATCH] Remove another unused state argument --- game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game.js b/game.js index ba54b7d..ce35f0d 100644 --- a/game.js +++ b/game.js @@ -118,7 +118,7 @@ Returns the timeout id - but you still need to cancel it through stopTimer! */ function startTimer(config) { const timeout = setTimeout(() => { - const result = config.func(state, config); + const result = config.func(config); refresh(); // the timer may have terminated itself!