diff --git a/src/play_clj/core_render.clj b/src/play_clj/core_render.clj index e969f84..1836530 100644 --- a/src/play_clj/core_render.clj +++ b/src/play_clj/core_render.clj @@ -29,7 +29,7 @@ (defmacro tiled-map-layer! [layer k & options] - `(u/call! ^TiledMapTileLayer ~layer ~k ~@options)) + `(u/call! ^TiledMapTileLayer (cast TiledMapTileLayer ~layer) ~k ~@options)) (defn tiled-map-cell [screen layer x y]