Skip to content

fix: skip unused presentation action templates - #366

Open
han4wluc wants to merge 1 commit into
mainfrom
fix/template-only-used-action-fields
Open

han4wluc wants to merge 1 commit into
mainfrom
fix/template-only-used-action-fields

Conversation

@han4wluc

Copy link
Copy Markdown
Contributor

Every presentation action's strings are templated at line entry and the results discarded, so text that is never shown can still throw: a literal #{item} in dialogue text raises a template error at line entry.

Reproduce: dialogue text containing a literal #{item} (regression test).

Fix: the discarded templating of presentation actions is skipped; engine actions and the BGM audio-effect selection used at line entry are still templated.

Tests: the regression, which also checks that BGM effect bindings still work; the full suite (2,164 tests) and lint pass.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant