mirror of
https://github.com/vrld/HC.git
synced 2024-11-18 12:54:23 +00:00
Update shapes.lua
mode in ConvexPolygonShape is already defined in the method signature
This commit is contained in:
parent
9d432517b7
commit
db1b1bdb38
@ -383,7 +383,7 @@ end
|
|||||||
|
|
||||||
|
|
||||||
function ConvexPolygonShape:draw(mode)
|
function ConvexPolygonShape:draw(mode)
|
||||||
local mode = mode or 'line'
|
mode = mode or 'line'
|
||||||
love.graphics.polygon(mode, self._polygon:unpack())
|
love.graphics.polygon(mode, self._polygon:unpack())
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user