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