mirror of
https://github.com/usysrc/LICK.git
synced 2024-11-16 09:34:22 +00:00
4 spaces indentation
This commit is contained in:
parent
fb9319c889
commit
5449f2f33a
13
lick.lua
13
lick.lua
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user