Переглянути джерело

Remove another unused state argument

tags/v0.1.3
Fen Dweller 5 роки тому
джерело
коміт
b30d437274
1 змінених файлів з 1 додано та 1 видалено
  1. +1
    -1
      game.js

+ 1
- 1
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!


Завантаження…
Відмінити
Зберегти