additive to the max

This commit is contained in:
2015-03-18 12:50:57 -07:00
parent 7c83b3425e
commit 5cd6c108d4
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