From b9816706e5ae144b2f462113fdd8643903f8ed90 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sat, 25 Jul 2020 11:22:41 +0200 Subject: [PATCH] fix: don't print input It's not really useless for debut for now --- sonic-radiance.love/core/input.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sonic-radiance.love/core/input.lua b/sonic-radiance.love/core/input.lua index 4653aa1..2d6c4c6 100644 --- a/sonic-radiance.love/core/input.lua +++ b/sonic-radiance.love/core/input.lua @@ -158,13 +158,13 @@ function VirtualPad:checkKey(key) local isDown = self:isDown(key) if (isDown) then if not (self.keys[key].isDown) then - core.debug:print("virtualpad", "key " .. key .. " is Pressed") + --core.debug:print("virtualpad", "key " .. key .. " is Pressed") self.keys[key].isDown = true self.keys[key].isPressed = true self.keys[key].isReleased = false else if (self.keys[key].isPressed) then - core.debug:print("virtualpad", "key " .. key .. " is Down") + --core.debug:print("virtualpad", "key " .. key .. " is Down") self.keys[key].isPressed = false end end @@ -175,7 +175,7 @@ function VirtualPad:checkKey(key) self.keys[key].isReleased = true else if (self.keys[key].isReleased) then - core.debug:print("virtualpad", "key " .. key .. " is Released") + --core.debug:print("virtualpad", "key " .. key .. " is Released") self.keys[key].isReleased = false end end