From 342d073572f796a2695ea0ea6827cb753b3945ac Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Fri, 12 Jul 2019 23:22:03 +0200 Subject: [PATCH] fix(world3D): dont attribute the getVisibleActor() function to baseworld --- gamecore/modules/world/world3D.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamecore/modules/world/world3D.lua b/gamecore/modules/world/world3D.lua index 0d5ef76..0bc7139 100644 --- a/gamecore/modules/world/world3D.lua +++ b/gamecore/modules/world/world3D.lua @@ -65,7 +65,7 @@ function World3D:getActorsInRect(x, y, w, h) return self:getShapeInRect(x, y, w, h) end -function BaseWorld:getVisibleActors(id) +function World3D:getVisibleActors(id) local actors = {} if (id ~= nil) then local camx, camy, camw, camh = self.cameras:getViewCoordinate(id)