removed game player.

This commit is contained in:
2015-04-07 08:46:25 -07:00
parent 71fe902c42
commit 3183cf52dc

View File

@@ -446,7 +446,7 @@
(if (actions/has-item? entities :sword)
(update-in entities [:room :entities] #(dissoc % :sword))
entities)
(if (= :night (get-in entities [:state :time]))
(if (#{:night :sunrise} (get-in entities [:state :time]))
(make-night entities)
entities)))
:update-fn (fn [screen entities]