8000 TagsAtStartOfFlowContainerWithPathString skipping tags for knots with a parameter · Issue #854 · inkle/ink · GitHub
[go: up one dir, main page]

Skip to content

TagsAtStartOfFlowContainerWithPathString skipping tags for knots with a parameter #854

Open

Description

@Rhuantavan

I have encountered an issue when tags are ignored by TagsForContentAtPath(string path) for a knot that contains a parameter.
Example:

=== Util_DigMound(container_id) ===
#MiniNarrative
"It looks like something's buried here," PARTY_RAND said<>

I have narrowed the problem to TagsAtStartOfFlowContainerWithPathString in Story.cs. If the content begins with a variable assignment, the initial tags will be ignored. I have fixed the issue by adding:

var v = c as Runtime.VariableAssignment; if (v != null) { continue; }

just before

var command = c as Runtime.ControlCommand;

in the foreach loop.

Activity

  1. ShiJbey commented on Jul 2, 2024

    @ShiJbey

    +1 on this issue in version 1.1.8. Thank you for the quick fix.

  2. tichaelmurvey commented on Nov 3, 2024

    @tichaelmurvey

    Confirming this issue exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0