From bea27cd7f979ce3544b4c73855190efc2a9565ac Mon Sep 17 00:00:00 2001 From: ne_mene Date: Thu, 12 Mar 2026 20:12:42 +0100 Subject: pull pls --- src/phys.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/phys.lua b/src/phys.lua index d35f612..8cf0613 100644 --- a/src/phys.lua +++ b/src/phys.lua @@ -107,7 +107,7 @@ function collision_check(box) for _, layer in ipairs(box.mask) do for _, other in ipairs(world.layers[layer] or {}) do if other == box then - goto continue + goto collision_check_continue end other_x, other_y, other_width, other_height = other:get_rect() @@ -117,7 +117,7 @@ function collision_check(box) ) then return true end - ::continue:: + ::collision_check_continue:: end end return false @@ -133,6 +133,7 @@ function phys.Box:update(velx, vely, dt) -- this block is fat. much like a certain croatian... -- not anymore :D -- shut up + -- welc for i = 1, steps do local p = i / steps local before -- cgit v1.3-2-g0d8e