Skip to content

Commit ea6a9eb

Browse files
authored
bug fixed (#160)
1 parent 185c68f commit ea6a9eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/streckengrafik/services/sg-6-track.service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ export class Sg6TrackService implements OnDestroy {
274274
for (let distCellIdx = 0; distCellIdx < nDistanceCells; distCellIdx++) {
275275
// unroll frequency to get the trains - generated out of the "template" train
276276
for (
277-
let freqLoop = 0;
277+
let freqLoop = -this.maxFrequency;
278278
freqLoop <= this.maxFrequency;
279279
freqLoop = freqLoop + d.trainrun.frequency
280280
) {

0 commit comments

Comments
 (0)