Merge pull request #45 from MaxRobinsonTheGreat/fps-bug

Fixed FPS bug
This commit is contained in:
Max Robinson
2021-11-28 14:36:26 -06:00
committed by GitHub
2 changed files with 46 additions and 23 deletions

View File

@@ -316,8 +316,7 @@ class ControlPanel {
}
changeEngineSpeed(change_val) {
this.engine.stop();
this.engine.start(change_val)
this.engine.restart(change_val)
this.fps = this.engine.fps;
}