Skip to content

Commit 269fd60

Browse files
committed
Bug fix
1 parent 8e362f5 commit 269fd60

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

src/behavior.scm

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197

198198
;; Respond to a new face becoming visible.
199199
;
200-
;; XXX TODO -- need to also do line 590, if interacting for a while
200+
;; XXX TODO -- if interacting for a while
201201
;; this alters probability of glance...
202202
(DefineLink
203203
(DefinedPredicate "Respond to new arrival")
@@ -749,18 +749,22 @@
749749
(SequentialOr
750750
(DefinedPredicate "Skip Interaction?")
751751

752-
(DefinedPredicate "Someone requests interaction?")
753-
(DefinedPredicate "Interaction requested action")
752+
(SequentialAnd
753+
(DefinedPredicate "Someone requests interaction?")
754+
(DefinedPredicate "Interaction requested action"))
754755

755-
(DefinedPredicate "Did someone arrive?")
756-
(DefinedPredicate "New arrival sequence")
756+
(SequentialAnd
757+
(DefinedPredicate "Did someone arrive?")
758+
(DefinedPredicate "New arrival sequence"))
757759

758-
(DefinedPredicate "Did someone leave?")
759-
(DefinedPredicate "Someone left action")
760+
(SequentialAnd
761+
(DefinedPredicate "Did someone leave?")
762+
(DefinedPredicate "Someone left action"))
760763

761764
; True, if there is anyone visible.
762-
(DefinedPredicate "Someone visible?")
763-
(DefinedPredicate "Interact with people")
765+
(SequentialAnd
766+
(DefinedPredicate "Someone visible?")
767+
(DefinedPredicate "Interact with people"))
764768

765769
(DefinedPredicate "Nothing is happening")
766770
(True))

0 commit comments

Comments
 (0)