mirror of
https://github.com/mehotkhan/BandersnatchInteractive.git
synced 2025-07-27 17:23:22 +00:00
assets/scripts.js: Segment group preconditions override segment preconditions
This commit is contained in:
parent
88c7b5dced
commit
80f4bd0b6e
1 changed files with 0 additions and 4 deletions
|
@ -96,10 +96,6 @@ function resolveSegmentGroup(sg) {
|
||||||
if (v.segmentGroup) {
|
if (v.segmentGroup) {
|
||||||
results.push(resolveSegmentGroup(v.segmentGroup));
|
results.push(resolveSegmentGroup(v.segmentGroup));
|
||||||
} else if (v.segment) {
|
} else if (v.segment) {
|
||||||
// TODO: does the included precondition override or
|
|
||||||
// complement the segment precondition?
|
|
||||||
if (!checkPrecondition(v.segment))
|
|
||||||
continue;
|
|
||||||
results.push(v.segment);
|
results.push(v.segment);
|
||||||
} else {
|
} else {
|
||||||
if (!checkPrecondition(v))
|
if (!checkPrecondition(v))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue