From 4dfa234bc3857502ccb8742b87eaea4e88a98926 Mon Sep 17 00:00:00 2001 From: JDV Date: Thu, 3 Mar 2022 13:19:56 -0600 Subject: [PATCH] Include complete path when printing screenshot info --- main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.lua b/main.lua index c48c24f..9c04823 100644 --- a/main.lua +++ b/main.lua @@ -118,7 +118,7 @@ function love.keypressed(key, scancode) love.filesystem.remove("ss") love.filesystem.createDirectory("ss") end - print("Saving screenshot as "..ss_name) + print("Saving screenshot as "..love.filesystem.getSaveDirectory().."/"..ss_name) GLOBAL_CANVAS:newImageData():encode("png", ss_name) -- function keys are reserved elseif string.match(scancode, "^f[1-9]$") or string.match(scancode, "^f[1-9][0-9]+$") then