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 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
}