mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-26 05:14:21 +00:00
Merge pull request #79 from qaisjp/patch-2
Removed repeated code (see line 29)
This commit is contained in:
commit
d60b472797
@ -30,7 +30,6 @@ function loveframes.debug.draw()
|
|||||||
local fps = love.timer.getFPS()
|
local fps = love.timer.getFPS()
|
||||||
local deltatime = love.timer.getDelta()
|
local deltatime = love.timer.getDelta()
|
||||||
local font = loveframes.basicfontsmall
|
local font = loveframes.basicfontsmall
|
||||||
local loveversion = love._version
|
|
||||||
|
|
||||||
-- set the top most collision object
|
-- set the top most collision object
|
||||||
for k, v in ipairs(cols) do
|
for k, v in ipairs(cols) do
|
||||||
@ -92,4 +91,4 @@ function loveframes.debug.draw()
|
|||||||
love.graphics.print("Height: " ..topcol.height, infox + 10, infoy + 155)
|
love.graphics.print("Height: " ..topcol.height, infox + 10, infoy + 155)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user