summaryrefslogtreecommitdiff
path: root/objects.go
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2024-04-23 19:05:02 +0100
committerdavidovski <david@davidovski.xyz>2024-04-23 19:05:02 +0100
commita77fc96b2e5f125d5bb0e920fe60d8111f9a2b69 (patch)
tree28409fc37861b1698ddf0669a8e77083e490e691 /objects.go
parent69db833ebae7a426fb60d117c67f0b83632618d8 (diff)
add final level
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