cant get monocle till you want it.

This commit is contained in:
Bryce Covert
2016-08-08 23:48:38 -07:00
parent 4360517153
commit 3a8e6a6ef5

View File

@@ -339,7 +339,7 @@
(defn add-monocle-if-necessary [entities]
(if (and (not (actions/has-obtained? entities :monocle))
(get-in entities [:state :talked-to-owl?]))
(get-in entities [:state :wants-monocle?]))
(update-in entities [:room :entities] #(assoc % :monocle (get-in entities [:room :monocle])))
entities))