Skip to content
Snippets Groups Projects
Commit 42620dc5 authored by Will Billingsley's avatar Will Billingsley
Browse files

Fix incompatibility between Timer in node and browser

parent 5104b01d
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,7 @@ class ConfigView extends Vue {
clearInterval(this.intervalId)
this.config.started = false
} else {
this.intervalId = setInterval(() => {
this.intervalId = window.setInterval(() => {
let l = getLife()
if (l) l.stepGame()
render()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment