Bladeren bron

Remove another unused state argument

tags/v0.1.3
Fen Dweller 5 jaren geleden
bovenliggende
commit
b30d437274
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. +1
    -1
      game.js

+ 1
- 1
game.js Bestand weergeven

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


Laden…
Annuleren
Opslaan