diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-01-26 22:04:26 +0100 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-01-26 22:04:26 +0100 |
| commit | 1bce4de22888eb4b37b17f3a118065012331267e (patch) | |
| tree | 86d74e4e8966489f08f75d8fcddb9591bd6a9b6f /src/scripts/controllers/simulationcontroller.ts | |
| parent | 3ad08353d289720cf8f43e1dba078da43c35e97d (diff) | |
Set first tick to be 1 instead of 0
Diffstat (limited to 'src/scripts/controllers/simulationcontroller.ts')
| -rw-r--r-- | src/scripts/controllers/simulationcontroller.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/controllers/simulationcontroller.ts b/src/scripts/controllers/simulationcontroller.ts index 8d9553e9..418b5437 100644 --- a/src/scripts/controllers/simulationcontroller.ts +++ b/src/scripts/controllers/simulationcontroller.ts @@ -72,7 +72,7 @@ export class SimulationController { this.experimentSelectionMode = true; this.sectionIndex = 0; - this.currentTick = 0; + this.currentTick = 1; this.playing = false; this.stateCache = new StateCache(this); this.colorRepresentation = ColorRepresentation.LOAD; @@ -340,7 +340,7 @@ export class SimulationController { this.currentPath = this.getPathById(this.currentExperiment.pathId); this.sections = this.currentPath.sections; this.sectionIndex = 0; - this.currentTick = 0; + this.currentTick = 1; this.playing = false; this.stateCache = new StateCache(this); this.colorRepresentation = ColorRepresentation.LOAD; |
