summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-03-13 11:45:14 +0800
committerEltrac <hi@guhub.cn>2025-03-13 11:45:14 +0800
commit2febdebbd4ac58af89ca745f9d06c8aae9f85991 (patch)
tree512c7d61b9fa16765f4e4e98008a85f4d03f2889
parent69e26738807684f387541e05a93b5238d76d6efe (diff)
chore: remove unused arguments
-rw-r--r--objects/Shot.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/objects/Shot.lua b/objects/Shot.lua
index affa7f2..e05e3e7 100644
--- a/objects/Shot.lua
+++ b/objects/Shot.lua
@@ -27,7 +27,7 @@ function Shot:new(bulletType, target, firer, friendly)
setmetatable(obj, Shot)
- G.BodyLifeCycleManager:create(obj, config.bulletSize, "dynamic", 0.1, self.speed)
+ G.BodyLifeCycleManager:create(obj, config.bulletSize, "dynamic")
return obj
end