summaryrefslogtreecommitdiff
path: root/objects.go
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2024-04-21 23:16:57 +0100
committerdavidovski <david@davidovski.xyz>2024-04-21 23:16:57 +0100
commit9af752349c40be745d1296d95675916f95977890 (patch)
tree326f087188c7885c0c070f656d21483a30f20680 /objects.go
parentcffac12303402c3bfd2d7eb8ab982bdaa86bd72d (diff)
fix placing things on the floor
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 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
}