Oops, indenting fix in main.lua

pull/43/head
Ishaan Bhardwaj 2021-10-16 19:10:33 -04:00
parent a30791afc3
commit 42f872a557
1 changed files with 2 additions and 2 deletions

View File

@ -106,8 +106,8 @@ function love.keypressed(key, scancode)
if config.secret then playSE("mode_decide")
else playSE("erase") end
-- f12 is reserved for saving screenshots
elseif scancode == "f12" then
local ss_name = os.date("ss/%Y-%m-%d_%H-%M-%S.png")
elseif scancode == "f12" then
local ss_name = os.date("ss/%Y-%m-%d_%H-%M-%S.png")
local info = love.filesystem.getInfo("ss", "directory")
if not info then
love.filesystem.remove("ss")