diff --git a/shapes.lua b/shapes.lua index d532fa6..dfedc24 100644 --- a/shapes.lua +++ b/shapes.lua @@ -383,7 +383,7 @@ end function ConvexPolygonShape:draw(mode) - local mode = mode or 'line' + mode = mode or 'line' love.graphics.polygon(mode, self._polygon:unpack()) end