fixing android issues.
This commit is contained in:
@@ -100,10 +100,15 @@
|
||||
(put! (get-in starting-entities# [:fg-actions :script-chan])
|
||||
(fn [starting-entities#]
|
||||
(let [~entities (atom starting-entities#)]
|
||||
(thread (binding [*fg-bg-key* :fg-actions]
|
||||
~@forms
|
||||
(change-script-state ~entities false)
|
||||
(utils/save @~entities "autosave" "Autosave"))))))))
|
||||
(thread (try (binding [*fg-bg-key* :fg-actions]
|
||||
~@forms
|
||||
(change-script-state ~entities false)
|
||||
(utils/save @~entities "autosave" "Autosave"))
|
||||
(catch clojure.lang.ExceptionInfo e#
|
||||
(println "caught exception" e#))
|
||||
(catch Exception e#
|
||||
(println "Caught exception")
|
||||
(.printStackTrace e#)))))))))
|
||||
|
||||
(defn force-end [entities current-action key]
|
||||
(do (when current-action
|
||||
|
||||
Reference in New Issue
Block a user