Logic was right but looking for values in wrong places. Fixed

This commit is contained in:
benjamin melançon 2018-11-19 21:23:50 -05:00
parent 44b4b33d38
commit 7b98a21d81

View file

@ -109,8 +109,8 @@
{% if content.field_body_paragraph %}
{% for i, paragraph in content.field_body_paragraph if i|first != '#' %}
{% if i is not same as(title_paragraph_index) %}
{% if paragraph.field_style_escape_flow is not empty %}
{% set bust_out = paragraph.field_style_escape_flow %}
{% if paragraph['#paragraph'].field_style_escape_flow.value is not empty %}
{% set bust_out = paragraph['#paragraph'].field_style_escape_flow.value %}
{% endif %}
{% if bust_out != true and busted_out != true %}
{# We need to be in the flow but the lugeslide walls aren't up yet #}