hopefully fixes ransition problem.

This commit is contained in:
2015-04-22 17:52:52 -07:00
parent cf0a83ff02
commit b932ddfdf4

View File

@@ -544,7 +544,8 @@
(defscreen scene
:on-timer
(fn [screen [entities]]
((get-in entities [:room :timers (:id screen) 2]) screen entities))
(when-let [timer-fn (get-in entities [:room :timers (:id screen) 2])]
(timer-fn screen entities)))
:on-show
(fn [screen entities]