summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-10-06 14:21:28 +0200
committerAki <nthirtyone@gmail.com>2016-10-06 14:21:28 +0200
commit9f1854ed3365eacec0b49017d619eb02ab0f52fb (patch)
treef3e0949364fba8f543663fa9605d09b6805560da
parentbdc2e0ee9420eaf99ad9502ad061f124e17e00b8 (diff)
downloadroflnauts-9f1854ed3365eacec0b49017d619eb02ab0f52fb.zip
roflnauts-9f1854ed3365eacec0b49017d619eb02ab0f52fb.tar.gz
roflnauts-9f1854ed3365eacec0b49017d619eb02ab0f52fb.tar.bz2
Fixed debug information displaying with wrong font
-rw-r--r--main.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/main.lua b/main.lua
index ab1c755..93d0408 100644
--- a/main.lua
+++ b/main.lua
@@ -67,6 +67,7 @@ function love.draw()
Scene:draw()
if debug then
local scale = getScale()
+ love.graphics.setFont(Font)
love.graphics.setColor(255, 0, 0, 255)
love.graphics.print("Debug ON", 10, 10, 0, scale, scale)
love.graphics.setColor(255, 255, 255, 255)
@@ -96,6 +97,4 @@ end
function Controller.controlreleased(set, action, key)
-- pass to current Scene
Scene:controlreleased(set, action, key)
-end
-
-
+end \ No newline at end of file