about summary refs log tree commit diff stats
path: root/run.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-10-27 23:58:42 -0700
committerKartik K. Agaram <vc@akkartik.com>2023-10-27 23:58:42 -0700
commitaa9a0b0b15cbd0ec2457082ed334aa6d8fd99699 (patch)
treeb6958ea348a72ac293bf5473790edb67cebb822f /run.lua
parent5d41640d2ff7c3724ffed76759f729a38268b03d (diff)
downloadlines.love-aa9a0b0b15cbd0ec2457082ed334aa6d8fd99699.tar.gz
use my name for a dir
Diffstat (limited to 'run.lua')
-rw-r--r--run.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/run.lua b/run.lua
index 2d86627..98a8345 100644
--- a/run.lua
+++ b/run.lua
@@ -163,7 +163,7 @@ end
 
 function absolutize(path)
   if is_relative_path(path) then
-    return love.filesystem.getWorkingDirectory()..'/'..path  -- '/' should work even on Windows
+    return App.current_dir..path
   end
   return path
 end