From fe3735fea895e028e1a6986c520d0c87f3a98f53 Mon Sep 17 00:00:00 2001 From: oakes Date: Sun, 23 Mar 2014 20:19:03 -0400 Subject: [PATCH] Pass screen directly to wrapper function --- src/play_clj/core.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/play_clj/core.clj b/src/play_clj/core.clj index 7d91290..d96e181 100644 --- a/src/play_clj/core.clj +++ b/src/play_clj/core.clj @@ -126,7 +126,7 @@ object" run-fn! (fn [k & args] (doseq [screen screens] (if wrap - (wrap (get screen k) args) + (wrap screen k args) (apply (get screen k) args))))] (.setScreen game (reify Screen (show [this] (add-inputs!) (run-fn! :show))