Remove faulty assert
"fields.quit" isn't actually guaranteed to fire in all cases, e.g. it doesn't when the formspec is replaced by the death screen.
This commit is contained in:
parent
817223f94c
commit
062fffff4b
@ -794,11 +794,6 @@ else
|
||||
end)
|
||||
|
||||
core.open_settings = function()
|
||||
-- this assert is here to make sure we catch all cases of closing the dialog.
|
||||
-- this is also a little additional protection against processing input
|
||||
-- we shouldn't process (e.g. coming from server-sent formspecs).
|
||||
assert(not dialog)
|
||||
|
||||
load()
|
||||
dialog = {}
|
||||
dialog.data = {}
|
||||
|
Loading…
Reference in New Issue
Block a user