fixes whitespace

This commit is contained in:
duncathan 2019-03-27 23:45:22 -06:00
parent b97eb73d46
commit 7c8b316da7
2 changed files with 6 additions and 6 deletions

View file

@ -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 = {}

View file

@ -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()