From fead58cd8261d05d9e6fc0c87d7c649c0ad1b3e1 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Tue, 11 Mar 2025 09:54:17 +0800 Subject: refactor: move speed up function to Player object module --- data/bulletData.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data') diff --git a/data/bulletData.lua b/data/bulletData.lua index a52ba98..dda0fdc 100644 --- a/data/bulletData.lua +++ b/data/bulletData.lua @@ -31,7 +31,7 @@ local bulletData = { shinyheart = { damage = 80, afterShot = function () - player.speedUp(30, 10) + G.player:speedUp(30, 10) end, afterHit = function (x, y, enemyType) local stunned = enemies.getWithinRage(x, y, 100) -- cgit v1.2.3