From db1b1bdb3844ec79755e16bbc9063b53b081f949 Mon Sep 17 00:00:00 2001 From: Italo Maia Date: Sun, 29 Dec 2013 02:09:27 -0200 Subject: [PATCH] Update shapes.lua mode in ConvexPolygonShape is already defined in the method signature --- shapes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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