From 1bce4de22888eb4b37b17f3a118065012331267e Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Thu, 26 Jan 2017 22:04:26 +0100 Subject: Set first tick to be 1 instead of 0 --- src/scripts/controllers/simulationcontroller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/scripts/controllers/simulationcontroller.ts') 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; -- cgit v1.2.3