From a77fc96b2e5f125d5bb0e920fe60d8111f9a2b69 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 23 Apr 2024 19:05:02 +0100 Subject: add final level --- objects.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'objects.go') 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 -- cgit v1.2.1