From 242e916d4bce9ecf6d4fded4970ffa2fce91ea1a Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Fri, 12 Jul 2019 23:18:01 +0200 Subject: [PATCH] fix(actor2D): remove an erroneous call to Actor3D --- 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 04aa065..0c2c5c6 100644 --- a/gamecore/modules/world/actors/actor2D.lua +++ b/gamecore/modules/world/actors/actor2D.lua @@ -193,7 +193,7 @@ end -- DRAW FUNCTIONS -- Draw the actors. -function Actor3D:getShape() +function Actor2D:getShape() return (self.x), (self.y), self.w, (self.h) end