dialogue tweak and hopefully linux fix.

This commit is contained in:
Bryce Covert
2016-02-17 21:56:19 -08:00
parent 6b7a6de5df
commit c59cfc5f92
2 changed files with 5 additions and 1 deletions

View File

@@ -1166,6 +1166,10 @@ void main ()
(doseq [[k [start time fn]] (get-in entities [:room :timers])]
(add-timer! screen k start time)))
:on-pause (fn [_ _]
(utils/set-fullscreen! false)
nil)
:on-key-up
(fn [screen entities]
(when (= (key-code :escape) (:key screen))