This commit is contained in:
2015-03-18 15:53:29 -07:00
14 changed files with 9 additions and 5 deletions

View File

@@ -78,7 +78,7 @@
interacting-entity (first (sort-by (comp - :baseline) (filter #(and (:mouse-in? %)
(:get-script %)
((:mouse-in? %) entities x y))
(vals (get-in entities [:room :entities])))))
(vals (dissoc (get-in entities [:room :entities]) :ego)))))
current-action (get-in entities [:actions :current])
;; TODO - hacky way of resetting queue