reset font size on error
This commit is contained in:
parent
8a02f1d7af
commit
e9c4ca3743
1
live.lua
1
live.lua
|
@ -386,6 +386,7 @@ function live.handle_error(err)
|
|||
local callstack = debug.traceback('', --[[stack frame]]2)
|
||||
local cleaned_up_error = 'Error: ' .. cleaned_up_frame(tostring(err))..'\n'..cleaned_up_callstack(callstack)
|
||||
live.send_run_time_error_to_driver(cleaned_up_error)
|
||||
love.graphics.setFont(love.graphics.newFont(20))
|
||||
Error_message = 'Something is wrong. Sorry!\n\n'..cleaned_up_error..'\n\n'..
|
||||
"(Note: function names above don't include outer tables. So functions like on.draw might show up as just 'draw', etc.)\n\n"..
|
||||
'Options:\n'..
|
||||
|
|
Loading…
Reference in New Issue