Skip to content

Formspec not closing completely #9

@scr267

Description

@scr267

Hi, when closing the formspecs by using the simple_dialogs end statement, the formspecs close, but a final empty formspec is displayed which requires the help of the 'esc' key to close.

Not a big problem, and initially I assumed it might have been used to display a 'parting' dialog, however I couldn't understand how to make that work. Then looking at the code I realized that didn't seem to be the intention. Rather the final formspec is just being called due to synchronicity issues between displaying the dialog formspec and detecting the 'end' response from the player.

I'm very bad at LUA and have attempted to write a fix, which I am sending you through this pull request. Feel free to write your own, use this as an idea, or otherwise. In any case I'm going to use this code temporarily until I get your response.

I'll add the PR link here shortly.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions