implemented feedback.

This commit is contained in:
Bryce Covert
2015-12-08 08:57:31 -08:00
parent a7cb87cf8d
commit 3163b8181c
2 changed files with 8 additions and 0 deletions

View File

@@ -1309,6 +1309,13 @@ void main ()
(assoc-in [:state :active?] true)
(assoc-in [:cursor :override] nil)))
:on-end-safe (fn [screen [entities]]
((actions/get-script entities
(actions/play-animation entities :ego :end-squat)) entities)
(-> entities
(assoc-in [:state :active?] true)
(assoc-in [:cursor :override] nil)))
:on-chose-item (fn [{:keys [item]} [entities]]
(assoc-in entities [:cursor :current] item))