Skip to content

Commit ceb5ecc

Browse files
committed
Debug only: Room tables now preserve list of successful shape rules applied.
1 parent 3f40615 commit ceb5ecc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/grower.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3628,6 +3628,12 @@ end
36283628
R.shapes_applied = 1
36293629
end
36303630

3631+
if not R.shapes or table.empty(R.shapes) then
3632+
R.shapes = {}
3633+
else
3634+
R.shapes[cur_rule.name] = R.shapes[cur_rule.name] + 1
3635+
end
3636+
36313637
if cur_rule.is_absurd then
36323638
if R.absurd_shapes then
36333639
table.add_unique(R.absurd_shapes, cur_rule.name)

0 commit comments

Comments
 (0)