Use the Missions directory for state fall back.

Useful for servers that do not allow access to other paths.
This commit is contained in:
Adam Clemons 2022-09-04 18:42:54 -05:00 committed by GitHub
parent d16f6692b8
commit 693afb7949
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ local function discoverDebriefingFilePath()
-- nothing worked, let's try the last resort folder : current directory.
if lfs then
return testDebriefingFilePath(lfs.writedir(), "the working directory", useCurrentStamping)
return testDebriefingFilePath(lfs.writedir().."Missions\\", "the working directory", useCurrentStamping)
end
return nil