i had accidentally commented out a line of the level tiles
sorry ?? XD
This commit is contained in:
@@ -30,6 +30,9 @@ function exportLevel(levelname, filename)
|
||||
exportFile:write("\n tiles = {")
|
||||
local rows = #LevelTiles
|
||||
for i = 1, #LevelTiles do
|
||||
if i > 1 then
|
||||
exportFile:write(", ")
|
||||
end
|
||||
exportFile:write("\n { ")
|
||||
for j = 1, #LevelTiles[i] do
|
||||
if j ~= 1 then
|
||||
@@ -38,9 +41,6 @@ function exportLevel(levelname, filename)
|
||||
exportFile:write(tostring(LevelTiles[i][j].id))
|
||||
end
|
||||
exportFile:write("}")
|
||||
if i ~= #LevelTiles then
|
||||
exportFile:write(", ")
|
||||
end
|
||||
logPrint(" - row "..i.."/"..rows.." "..math.floor(100*((i-1)*100/rows))/100 .."%")
|
||||
end
|
||||
exportFile:write("\n },")
|
||||
|
||||
Reference in New Issue
Block a user