From fa92576979096f57101d108d35318c6fe1856c9a Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sat, 16 Mar 2019 15:00:58 +0100 Subject: [PATCH] example/test_scene: round the second number --- examples/test_scene/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/test_scene/init.lua b/examples/test_scene/init.lua index 0cff37b..743d433 100644 --- a/examples/test_scene/init.lua +++ b/examples/test_scene/init.lua @@ -41,7 +41,7 @@ function TestScene:draw() love.graphics.rectangle("fill", 0, 0, 424, 240) 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 return TestScene