Browse Source

Remove another unused state argument

tags/v0.1.3
Fen Dweller 5 years ago
parent
commit
b30d437274
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      game.js

+ 1
- 1
game.js View File

@@ -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!


Loading…
Cancel
Save