mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 01:49:02 -06:00
Oops, indenting fix in main.lua
This commit is contained in:
parent
a30791afc3
commit
42f872a557
4
main.lua
4
main.lua
@ -106,8 +106,8 @@ function love.keypressed(key, scancode)
|
|||||||
if config.secret then playSE("mode_decide")
|
if config.secret then playSE("mode_decide")
|
||||||
else playSE("erase") end
|
else playSE("erase") end
|
||||||
-- f12 is reserved for saving screenshots
|
-- f12 is reserved for saving screenshots
|
||||||
elseif scancode == "f12" then
|
elseif scancode == "f12" then
|
||||||
local ss_name = os.date("ss/%Y-%m-%d_%H-%M-%S.png")
|
local ss_name = os.date("ss/%Y-%m-%d_%H-%M-%S.png")
|
||||||
local info = love.filesystem.getInfo("ss", "directory")
|
local info = love.filesystem.getInfo("ss", "directory")
|
||||||
if not info then
|
if not info then
|
||||||
love.filesystem.remove("ss")
|
love.filesystem.remove("ss")
|
||||||
|
Loading…
Reference in New Issue
Block a user