aboutsummaryrefslogtreecommitdiff
path: root/pickups.lua
diff options
context:
space:
mode:
Diffstat (limited to 'pickups.lua')
-rw-r--r--pickups.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/pickups.lua b/pickups.lua
index 41fa66c..cd0de85 100644
--- a/pickups.lua
+++ b/pickups.lua
@@ -15,8 +15,7 @@
function addpickup(x, y, type)
local pickup = {}
- x = x
- y = y
+ --x,y = x,y
type = type or rnd({"fastshoot", "3shoot"})
function pickup.draw(pickup)
@@ -38,7 +37,7 @@ function addpickup(x, y, type)
end
function pickup:affect(player)
- pickupcolor = 8 --health
+ local pickupcolor = 8 --health
if type == "fastshoot" then
player.shootspeed = 0.17
pickupcolor = 12