summaryrefslogtreecommitdiff
path: root/objects.go
diff options
context:
space:
mode:
Diffstat (limited to 'objects.go')
-rw-r--r--objects.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/objects.go b/objects.go
index 0dcbd67..a8f7be9 100644
--- a/objects.go
+++ b/objects.go
@@ -380,7 +380,7 @@ func NewExit(game *Game, x, y float32) *GameObject{
exit := NewObject(game, x, y)
exit.images = []*ebiten.Image{
- tilesImage.SubImage(image.Rect(0, 16, 31, 48)).(*ebiten.Image),
+ tilesImage.SubImage(image.Rect(0, 16, 32, 48)).(*ebiten.Image),
}
exit.onCollideUp = OnCollideExit
exit.onCollideDown = OnCollideExit