mirror of
https://github.com/cave-story-randomizer/cave-story-randomizer
synced 2024-11-10 00:45:15 +00:00
Merge pull request #64 from Fayti1703/fix-multirand
Move mkdir out of if nil check
This commit is contained in:
commit
744eef1bf0
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue