Skip to content
Snippets Groups Projects
Commit 986c1fe4 authored by Hachem_Muche's avatar Hachem_Muche
Browse files

cleanup

parent ff6ecb80
No related branches found
No related tags found
1 merge request!350Charms fixes
......@@ -273,12 +273,8 @@ function _M:tick()
-- Check out any possible errors
local errs = core.game.checkError()
if errs then
--table.set(game, "debug", "last_errs", errs)
--table.print(errs, "_le_")
if config.settings.cheat then for id = #self.dialogs, 1, -1 do self:unregisterDialog(self.dialogs[id]) end end
self:registerDialog(require("engine.dialogs.ShowErrorStack").new(errs))
--errs = core.game.checkError()
--table.print(errs, "_mle_")
end
local stop = {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment