Skip to content
Snippets Groups Projects
Commit 03e71ff1 authored by DarkGod's avatar DarkGod
Browse files

In developer mode an error popup forces all other dialogs to disappear; making...

In developer mode an error popup forces all other dialogs to disappear; making sure even level generation errors do popup correctly
parent f632f15f
No related branches found
No related tags found
1 merge request!248More fixes
......@@ -250,6 +250,7 @@ function _M:tick()
-- Check out any possible errors
local errs = core.game.checkError()
if errs then
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))
end
......
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