4 spaces indentation

This commit is contained in:
headchant 2012-06-10 13:33:39 +02:00
parent fb9319c889
commit 5449f2f33a

View File

@ -34,12 +34,13 @@ local function update(dt)
print(tostring(err))
if lick.debugoutput then
lick.debugoutput = (lick.debugoutput .."ERROR: ".. err .. "\n" )
else lick.debugoutput = err .. "\n" end
else
lick.debugoutput = err .. "\n"
end
else
print("CHUNK LOADED\n")
lick.debugoutput = nil
end
if lick.reset then
loadok, err = xpcall(love.load, handle)
if not loadok and not loadok_old then
@ -59,7 +60,9 @@ local function update(dt)
print("ERROR: "..tostring(err))
if lick.debugoutput then
lick.debugoutput = (lick.debugoutput .."ERROR: ".. err .. "\n" )
else lick.debugoutput = err .. "\n" end
else
lick.debugoutput = err .. "\n"
end
end
updateok_old = not updateok
@ -71,7 +74,9 @@ local function draw()
print(tostring(err))
if lick.debugoutput then
lick.debugoutput = (lick.debugoutput .. err .. "\n" )
else lick.debugoutput = err .. "\n" end
else
lick.debugoutput = err .. "\n"
end
end
if lick.debug and lick.debugoutput then