diff options
author | sanine-a <sanine.not@pm.me> | 2020-12-15 21:16:10 -0600 |
---|---|---|
committer | sanine-a <sanine.not@pm.me> | 2020-12-15 21:16:10 -0600 |
commit | 2263acad65be7c881e81f2dc845d4acaefb9603e (patch) | |
tree | ab17f388a8743b7440bd14e99507859bbad6dc34 /demo/main.lua | |
parent | 71dc88f9379f379ee0287b1ef2b62c57c6445099 (diff) |
remove spurious debug message
Diffstat (limited to 'demo/main.lua')
-rw-r--r-- | demo/main.lua | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/demo/main.lua b/demo/main.lua index 34f9e6f..75b9966 100644 --- a/demo/main.lua +++ b/demo/main.lua @@ -9,9 +9,15 @@ FPSCamera.movement_speed = 5 honey.input.key.bind(honey.input.key.escape, honey.exit) local buffer = false -honey.input.key.bind(honey.input.key.f, function(action) if action == 1 then buffer = not buffer end end) - - local tex = honey.texture.load('lowres.png', {minFilter='nearest', magFilter='nearest'}) +honey.input.key.bind(honey.input.key.f, + function(action) + if action == 1 then + buffer = not buffer + end +end) + +local tex = honey.texture.load('lowres.png', + {minFilter='nearest', magFilter='nearest'}) local sceneRoot = Node.new() |