Skip to content

Commit 853f52f

Browse files
committed
collectNounRightOf bugfix
1 parent 671dbbd commit 853f52f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SIY-Game/SIYRulebook.class.st

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ SIYRulebook >> collectNounBelow: aBlock [
235235

236236
{
237237
#category : #'rule updating',
238-
#'squeak_changestamp' : 'LK 2/4/2024 20:15'
238+
#'squeak_changestamp' : 'LK 2/5/2024 21:50'
239239
}
240240
SIYRulebook >> collectNounRightOf: aBlock [
241241

@@ -244,7 +244,7 @@ SIYRulebook >> collectNounRightOf: aBlock [
244244
aBlock isOperator
245245
ifTrue: [aBlock neighborsRight do: [:each |
246246
each isNoun ifTrue: [^ each].
247-
each isOperator ifTrue: [^ self collectNounRightOf: each]]].
247+
each isProperty ifTrue: [^ self collectNounRightOf: each]]].
248248

249249
aBlock isProperty
250250
ifTrue: [aBlock neighborsRight do: [:each |

0 commit comments

Comments
 (0)