hopefully catching more issues on command line.
This commit is contained in:
@@ -15,7 +15,9 @@
|
||||
[advent.pathfind])
|
||||
(:import [com.badlogic.gdx.graphics Pixmap Pixmap$Filter Texture Texture$TextureFilter]
|
||||
[com.badlogic.gdx.graphics.g2d TextureRegion]
|
||||
[com.badlogic.gdx Gdx Application]))
|
||||
[com.badlogic.gdx Gdx Application]
|
||||
[java.io FileOutputStream File PrintStream])
|
||||
)
|
||||
|
||||
(defonce am (asset-manager))
|
||||
|
||||
@@ -24,6 +26,7 @@
|
||||
(defgame advent
|
||||
:on-create
|
||||
(fn [this]
|
||||
(clojure.tools.logging/log-capture! *ns* :warn :error)
|
||||
(steam/init)
|
||||
(set-screen! this title/title-screen)))
|
||||
|
||||
@@ -34,5 +37,5 @@
|
||||
(try (screen-fn)
|
||||
(catch Exception e
|
||||
(.log Gdx/app "ERROR" (with-out-str (.printStackTrace e)))
|
||||
(log/error e)
|
||||
(log/error e (with-out-str (.printStackTrace e)))
|
||||
(set-screen! advent title/title-screen)))))
|
||||
|
||||
Reference in New Issue
Block a user