diff --git a/birb/modules/world/actors/mixins/physics.lua b/birb/modules/world/actors/mixins/physics.lua index 8b6a143..2b99ed5 100644 --- a/birb/modules/world/actors/mixins/physics.lua +++ b/birb/modules/world/actors/mixins/physics.lua @@ -185,7 +185,7 @@ function PhysicalActor:addHitboxFromFrameData(framedata, animationID, frameID, h if (hitbox.type == "main") then self.mainHitbox:setFromData(hitbox.box, sx, sy) else - local hitboxName = anim .. frame .. type .. id + local hitboxName = anim .. frame .. hitbox.type .. id self:addHitbox(hitboxName, hitbox.type, hitbox.box, sx, sy, hitbox.isSolid) return hitboxName end