From 9af752349c40be745d1296d95675916f95977890 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 21 Apr 2024 23:16:57 +0100 Subject: fix placing things on the floor --- objects.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'objects.go') diff --git a/objects.go b/objects.go index e24e331..ce7ed22 100644 --- a/objects.go +++ b/objects.go @@ -213,7 +213,7 @@ func NewLeftSpike(game *Game, x, y float32) *GameObject{ spike.offsetX = 3 spike.image = tilesImage.SubImage(image.Rect(195, 16, 208, 32)).(*ebiten.Image) - spike.onCollideLeft = OnCollideSpike + spike.onCollideRight = OnCollideSpike return spike } -- cgit v1.2.1