From 347937468629ac95e29fe319f0c7dac96fbb3bb4 Mon Sep 17 00:00:00 2001 From: nightmareci Date: Sun, 8 Nov 2020 13:06:29 -0800 Subject: [PATCH] Forgot that the code used "enter" instead of "return" in the input config scene before, so changed it back. --- scene/input_config.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scene/input_config.lua b/scene/input_config.lua index bcc4263..1b4ae0f 100644 --- a/scene/input_config.lua +++ b/scene/input_config.lua @@ -58,10 +58,10 @@ function ConfigScene:render() end end if self.input_state > table.getn(configurable_inputs) then - love.graphics.print("press return to confirm, delete/backspace to retry" .. (config.input and ", escape to cancel" or "")) + love.graphics.print("press enter to confirm, delete/backspace to retry" .. (config.input and ", escape to cancel" or "")) else love.graphics.print("press key or joystick input for " .. configurable_inputs[self.input_state] .. ", tab to skip" .. (config.input and ", escape to cancel" or ""), 0, 0) - love.graphics.print("return, delete, backspace, tab, arrows, and escape can't be changed", 0, 20) + love.graphics.print("enter, delete, backspace, tab, arrows, and escape can't be changed", 0, 20) end end @@ -76,7 +76,7 @@ end function ConfigScene:onInputPress(e) if e.type == "key" then - -- return, delete, backspace, tab, arrows, and escape are reserved and can't be remapped + -- enter, delete, backspace, tab, arrows, and escape are reserved and can't be remapped if e.scancode == "escape" and config.input then scene = TitleScene() elseif self.input_state > table.getn(configurable_inputs) then