This commit is contained in:
Sage Vaillancourt 2025-03-21 12:20:25 -04:00
parent 3af687b28d
commit 69bf5b60aa
1 changed files with 5 additions and 4 deletions

View File

@ -33,7 +33,8 @@ world:filteredSystem(
and collider.canCollideWith
and e.canBeCollidedBy
and band(collider.canCollideWith, e.canBeCollidedBy) ~= 0
and intersects(e, collider) then
and intersects(e, collider)
then
system.world:addEntity({
collisionBetween = { collider = collider, collidedInto = e },
})