Skip to content

Commit

Permalink
collectNounRightOf bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
linuskoester committed Feb 5, 2024
1 parent 671dbbd commit 853f52f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SIY-Game/SIYRulebook.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ SIYRulebook >> collectNounBelow: aBlock [

{
#category : #'rule updating',
#'squeak_changestamp' : 'LK 2/4/2024 20:15'
#'squeak_changestamp' : 'LK 2/5/2024 21:50'
}
SIYRulebook >> collectNounRightOf: aBlock [

Expand All @@ -244,7 +244,7 @@ SIYRulebook >> collectNounRightOf: aBlock [
aBlock isOperator
ifTrue: [aBlock neighborsRight do: [:each |
each isNoun ifTrue: [^ each].
each isOperator ifTrue: [^ self collectNounRightOf: each]]].
each isProperty ifTrue: [^ self collectNounRightOf: each]]].

aBlock isProperty
ifTrue: [aBlock neighborsRight do: [:each |
Expand Down

0 comments on commit 853f52f

Please sign in to comment.