Skip to content

Commit

Permalink
Merge pull request #19 from abadonna/master
Browse files Browse the repository at this point in the history
Update story.lua
  • Loading branch information
astrochili authored Mar 13, 2022
2 parents b3b5769 + 6449997 commit 5a2015c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions narrator/story.lua
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,10 @@ function Story:pathChainForLabel(path)
-- TODO: This works but... isn't good.

local function findLabelChainInItems(items)
if type(items) ~= 'table' then
return nil
end

for index, item in ipairs(items) do

if item.label == label then
Expand Down

0 comments on commit 5a2015c

Please sign in to comment.