Skip to content

Commit 73e12b9

Browse files
feat: Turtle.LSystem improvement ( Fixes #116 )
Correcting nullification
1 parent 1ee75ee commit 73e12b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Types/Turtle/LSystem.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ $Axiom,
112112
[Collections.IDictionary]
113113
$Rule = [Ordered]@{},
114114

115-
[Alias('Iterations', 'IterationCount', 'N', 'Steps','StepCount')]
115+
[Alias('Iterations', 'IterationCount', 'N', 'Steps', 'N','StepCount')]
116116
[int]
117117
$Order = 2,
118118

@@ -170,7 +170,7 @@ $matchCache = @{}
170170
}
171171

172172
if ($matchCache[$m] -is [ScriptBlock]) {
173-
$Orderull = . $matchCache[$m] $match
173+
$null = . $matchCache[$m] $match
174174
continue nextMatch
175175
}
176176
}

0 commit comments

Comments
 (0)