separated ui and sim delta time

This commit is contained in:
Max Robinson
2021-11-28 14:07:24 -06:00
parent de24aa509e
commit ccb652545b
2 changed files with 46 additions and 23 deletions

View File

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