diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2018-07-15 22:01:24 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2018-07-27 17:15:44 +0200 |
commit | 5bd23bd6e0dbd1a4316d3ff0d4d3fca72f333961 (patch) | |
tree | 8a6a8333a145ccb621a4dc269afe1feb2f751718 | |
parent | 8287a51f6ea8e11e20d75382835b5368cf75c62c (diff) |
collide?: Return object.
-rw-r--r-- | scenes/game.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scenes/game.scm b/scenes/game.scm index 6ebbaab..1e983fe 100644 --- a/scenes/game.scm +++ b/scenes/game.scm @@ -225,7 +225,7 @@ (set-rect-y! hit-vis (+ (rect-y r) (vec2-y offset))) (set-rect-width! hit-vis (rect-width r)) (set-rect-height! hit-vis (rect-height r)) - #t) + obj) #f))) (object-layer-objects (tile-map-layer-ref (asset-ref (tile-map game)) layer))))) |