From 146cfbed549a9971d95bc46c9f8846073857828c Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sun, 5 May 2019 19:36:21 +0200 Subject: [PATCH] module/world: fix an oops --- gamecore/modules/world/actors/actor2D.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamecore/modules/world/actors/actor2D.lua b/gamecore/modules/world/actors/actor2D.lua index 9c36ef7..27685f9 100644 --- a/gamecore/modules/world/actors/actor2D.lua +++ b/gamecore/modules/world/actors/actor2D.lua @@ -134,7 +134,7 @@ end function Actor2D:solveAllCollisions(cols) for i, col in ipairs(cols) do - self:collisionResponse(v) + self:collisionResponse(col) if (col.type == "touch") or (col.type == "bounce") or (col.type == "slide") then self:changeSpeedToCollisionNormal(col.normal.x, col.normal.y) end