scenes/test: floor the second counter

This commit is contained in:
Kazhnuz 2019-02-11 22:41:19 +01:00
parent 96e095759b
commit a8965a8945

View file

@ -51,7 +51,7 @@ function TestScene:draw()
love.graphics.rectangle("fill", 0, 0, 424, 240) love.graphics.rectangle("fill", 0, 0, 424, 240)
love.graphics.setColor(0, 0, 0, 1) love.graphics.setColor(0, 0, 0, 1)
love.graphics.print(self.i .. " ; " .. self.mouse.x .. ":" .. self.mouse.y, 16, 16) love.graphics.print(math.floor(self.i) .. " ; " .. self.mouse.x .. ":" .. self.mouse.y, 16, 16)
end end
return TestScene return TestScene