mirror of
https://github.com/cave-story-randomizer/cave-story-randomizer
synced 2024-11-10 00:45:15 +00:00
fixes whitespace
This commit is contained in:
parent
b97eb73d46
commit
7c8b316da7
|
@ -91,15 +91,15 @@ function C:_seedRngesus()
|
|||
seed = seed:read('*n')
|
||||
end
|
||||
if seed == nil then
|
||||
logWarning('Seed from file is invalid, generate a new')
|
||||
logWarning('Seed from file is invalid, generate a new')
|
||||
seed = tostring(os.time())
|
||||
elseif string.len(seed) < 10 then
|
||||
logWarning('Seed is too short, generate a new')
|
||||
seed = tostring(os.time())
|
||||
logWarning('Seed is too short, generate a new')
|
||||
seed = tostring(os.time())
|
||||
end
|
||||
love.math.setRandomSeed(seed)
|
||||
logNotice(('Offering seed "%s" to RNGesus' ):format(seed))
|
||||
end
|
||||
end
|
||||
|
||||
function C:_createTscFiles(dirStage)
|
||||
local tscFiles = {}
|
||||
|
|
|
@ -22,7 +22,7 @@ function C:new(path)
|
|||
|
||||
-- Determine set of items which can be replaced later.
|
||||
--[[
|
||||
self._unreplaced = {}
|
||||
self._unreplaced = {}
|
||||
self._mapName = path:match("^.+/(.+)$")
|
||||
for k, v in pairs(ITEM_DATA) do repeat
|
||||
if (v.map .. '.tsc') ~= self._mapName then
|
||||
|
@ -32,7 +32,7 @@ function C:new(path)
|
|||
table.insert(self._unreplaced, item)
|
||||
until true end
|
||||
self._unreplaced = _.shuffle(self._unreplaced)
|
||||
]]
|
||||
]]
|
||||
end
|
||||
|
||||
function C:hasUnreplacedItems()
|
||||
|
|
Loading…
Reference in a new issue