diff options
Diffstat (limited to 'entity.lua')
| -rw-r--r-- | entity.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -35,8 +35,8 @@ end function Entity:syncFromPhysicsBody() if not self.body then return end - self.x = self.body:getX() - self.physicsWidth - self.y = self.body:getY() - self.height + self.physicsHeight / 2 + self.x = self.body:getX() - self.physicsWidth / 2 + self.y = self.body:getY() - self.physicsHeight / 2 end function getEntityCorners(entity) |
