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 Raffson
parent 15ed0e733a
commit fd545fbc79

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