Commit f176c98aea461f4674c1ceaef6b602d5939b4a3f
1 parent
359431d2
In developer mode an error popup forces all other dialogs to disappear; making s…
…ure even level generation errors do popup correctly
Showing
1 changed file
with
1 additions
and
0 deletions
... | ... | @@ -250,6 +250,7 @@ function _M:tick() |
250 | 250 | -- Check out any possible errors |
251 | 251 | local errs = core.game.checkError() |
252 | 252 | if errs then |
253 | + if config.settings.cheat then for id = #self.dialogs, 1, -1 do self:unregisterDialog(self.dialogs[id]) end end | |
253 | 254 | self:registerDialog(require("engine.dialogs.ShowErrorStack").new(errs)) |
254 | 255 | end |
255 | 256 | ... | ... |
-
Please register or login to post a comment