couple bugfixes.

This commit is contained in:
2015-02-04 07:30:12 -08:00
parent ae7b3356b9
commit 41e75513f5
5 changed files with 7 additions and 5 deletions

View File

@@ -341,7 +341,7 @@
(utils/load)
{:object nil
:active? true
:last-room :dream
:last-room :outside-house
:time :day
:obtained-items #{}
:inventory []
@@ -404,7 +404,7 @@
(doseq [[k [start time fn]] (get-in entities [:room :timers])]
(add-timer! screen k start time))
(when (not (get-in entities [:state :seen-intro?]))
#_(when (not (get-in entities [:state :seen-intro?]))
((actions/get-script entities (rooms.dream/do-intro entities)) entities))
(if-let [apply-state (get-in entities [:room :apply-state])]
(apply-state entities)