Improve log file location detection

This commit is contained in:
Buurazu authored and GitHub committed 2022-03-24 22:38:07 -04:00
1 parent 56358125e1
commit 2cbf11520a
1 file changed
+1 -1
+1 -1
View File
@@ -16,7 +16,7 @@ local spawnedItems = 0
local lastEffectTrigger = "chain"
local descOne = ""
local logLocation = os.getenv("SYSTEMDRIVE") .. "/Users/" .. os.getenv("USERNAME") .. "/Documents/My Games/Binding of Isaac Repentance/log.txt"
local logLocation = os.getenv("USERPROFILE") .. "/Documents/My Games/Binding of Isaac Repentance/log.txt"
local logFound = false
local logCursor = 0