Skip to content

Commit

Permalink
LineCollection: remove references to self in fromAllLines
Browse files Browse the repository at this point in the history
  • Loading branch information
CoffeeFlux committed Mar 8, 2019
1 parent 218cca0 commit f37cd9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LineCollection.moon
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ class LineCollection

@fromAllLines: ( sub, validationCb, selectLines ) =>
sel = { }
for i = 1, #@sub
table.insert( sel, i ) if @sub[i].class == "dialogue"
for i = 1, #sub
table.insert( sel, i ) if sub[i].class == "dialogue"
@ sub, sel, validationCb, selectLines

new: ( @sub, sel, validationCb, selectLines = true ) =>
Expand Down

0 comments on commit f37cd9c

Please sign in to comment.