raiguard / TrainGroups

A Factorio mod that eases the process of configuring train schedules.
MIT License
5 stars 0 forks source link

[Multiplayer] GUi becomes unclosable #22

Closed suisseWalter closed 11 months ago

suisseWalter commented 11 months ago

Description

It is possible to get the change-train-group gui[tgps_change_group_overlay and tgps_change_group_window] into a state where it can't be closed. This is only possible in multiplayer.

I guess this is a duplicate of #16 just eith a different cause.

The GUI can't be closed upon restarting the game. It is persistently open and in the foreground. (so it's not possible to open another train)

This issue was found on the SE-community server. As I don't have access to the server I can't provide the log files. But I can maybe try to get them. factorio-current.log from the client at the point of deletion of the GUI

Reproduction

be in a multiplayer. Open a train open the change train group GUI. Somebody else deletes the train. you are stuck with the gui forever. run /command game.get_player("player_name").gui.screen["tgps_change_group_overlay"].destroy() and the same fortgps_change_group_window to close the orphaned windows.