aboutsummaryrefslogtreecommitdiff
path: root/src/Game/Entities/Pickup.hs
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-02-21 12:40:31 +0000
committerJuan J. Martinez <jjm@usebox.net>2023-02-21 12:40:31 +0000
commit198498b3c604d55d3b54fef34c62f215ba8a2525 (patch)
treef3d7725657608cafdfc4888313f3631c14857032 /src/Game/Entities/Pickup.hs
parentfd74ead510f4ca326e36450fa23dee0d681c296b (diff)
downloadspace-plat-hs-198498b3c604d55d3b54fef34c62f215ba8a2525.tar.gz
space-plat-hs-198498b3c604d55d3b54fef34c62f215ba8a2525.zip
New Robot enemy.
Diffstat (limited to 'src/Game/Entities/Pickup.hs')
-rw-r--r--src/Game/Entities/Pickup.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Game/Entities/Pickup.hs b/src/Game/Entities/Pickup.hs
index d0f80f6..8d8beb8 100644
--- a/src/Game/Entities/Pickup.hs
+++ b/src/Game/Entities/Pickup.hs
@@ -20,7 +20,7 @@ mkBattery sprites x y playerRef collectedBattery' = do
gravity = gravityOff,
dir = DirRight,
sprite = s,
- update = updateBattery (collision playerRef) collectedBattery',
+ update = updateBattery (collision playerRef 16) collectedBattery',
destroy = False,
spawns = []
}