Merge pull request #64 from Fayti1703/fix-multirand

Move mkdir out of if nil check
This commit is contained in:
duncathan salt 2019-09-14 15:10:23 -06:00 committed by GitHub
commit 744eef1bf0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -214,9 +214,9 @@ function C:_getWritePaths()
self._writePathStage = (self._isCaveStoryPlus)
and (self._writePath .. '/base/Stage')
or (self._writePath .. '/Stage')
-- Create /data(/base)/Stage if it doesn't already exist.
mkdir(self._writePathStage)
end
-- Create /data(/base)/Stage if it doesn't already exist.
mkdir(self._writePathStage)
return self._writePath, self._writePathStage
end