[0.16.45] on_gui_closed event not fired
Posted: Tue May 29, 2018 3:54 am
To reproduce: Build and open the gui of an assembler(1, 2 or 3), quick replace assembler to another level (3, 1, 2). gui will close but the event on_gui_closed will not be called. I have a mod https://mods.factorio.com/mod/Actual_Craft_Time that relies on this event. I expect either the gui to remain open or the event to be called. This also is true for stone and steel furnaces. As the event is not fired, a gui in my mod doesn't close and causes the game to crash when a new gui tries to be created as both will have the same name. I'll need to add a check if this is to be not fixed.