mirror of
https://github.com/mehotkhan/BandersnatchInteractive.git
synced 2025-07-27 17:23:22 +00:00
assets/scripts.js: Use consistent variable name
This commit is contained in:
parent
6d34768b11
commit
9df4416b2b
1 changed files with 3 additions and 3 deletions
|
@ -368,10 +368,10 @@ function playNextSegment() {
|
|||
ls[breadcrumb] = lastSegment;
|
||||
|
||||
segmentTransition = true;
|
||||
let segment = nextSegment;
|
||||
let segmentId = nextSegment;
|
||||
nextSegment = null;
|
||||
if (segment)
|
||||
return playSegment(segment, true);
|
||||
if (segmentId)
|
||||
return playSegment(segmentId, true);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue