chiguire / traceryhx

Tracery: a story-grammar generation library, ported to Haxe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug in defaultUses increment

saint11 opened this issue · comments

In Ruleset.hx the line 114 is commented out
defaultUses[index] = if (defaultUses[index] == null) 1 else ++defaultUses[index];
but it should be used instead of line 115.
++defaultUses[index];

Hi, thanks for opening an issue. It's been a while since I've ported this code, what problem does this solve? I can make this fix very quickly