diff options
author | davidovski <david@davidovski.xyz> | 2024-04-21 23:16:57 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2024-04-21 23:16:57 +0100 |
commit | 9af752349c40be745d1296d95675916f95977890 (patch) | |
tree | 326f087188c7885c0c070f656d21483a30f20680 /objects.go | |
parent | cffac12303402c3bfd2d7eb8ab982bdaa86bd72d (diff) |
fix placing things on the floor
Diffstat (limited to 'objects.go')
-rw-r--r-- | objects.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |