Steps to reproduce
- Start a new freeplay.
- Place the furnace from the inventory.
- Enter the command, given at the end of this post.
- Enter the same command again because the game STILL does not execute it the first time. (Annoying.)
- Pick a blueprint tool and select the furnace.
- Exit the blueprint configuration by pressing "Esc".
Expected
"gui closed" is printed to the chat.Actual
Nothing is printed.Why is this unexpected
Closing the blueprint gui with confirm (E) will fire the event as expected. Other instances where the gui can be closed (such as the furnace's gui) will fire the event for both "Esc" and "E".Code: Select all
/c script.on_event(defines.events.on_gui_closed,function() game.print("gui closed") end)


