Skip to content

DialogSwapper: fix broken ipairs iteration - #5

Open
petzku wants to merge 1 commit into
TypesettingTools:masterfrom
petzku:patch-1
Open

DialogSwapper: fix broken ipairs iteration#5
petzku wants to merge 1 commit into
TypesettingTools:masterfrom
petzku:patch-1

Conversation

@petzku

@petzku petzku commented Dec 2, 2025

Copy link
Copy Markdown

Using moonscript's built-in *table iteration
alternatively it would be i, pair in ipairs(...)

Using moonscript's built-in `*table` iteration
alternatively it would be `i, pair in ipairs(...)`
@petzku

petzku commented Dec 2, 2025

Copy link
Copy Markdown
Author

without this fix, the script errors with the following message:

Lua reported a runtime error:
    File "...\autoload\Flux.DialogSwapper.moon", line 166
<anonymous function at lines 153-154>
attempt to index local 'pair' (a number value)

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