PFQNiet / Satisfactorio

Factorio mod that brings Satisfactory mechanics
GNU General Public License v3.0
11 stars 2 forks source link

Custom entity GUI auto-close #34

Closed PFQNiet closed 3 years ago

PFQNiet commented 3 years ago

Some entities use a custom GUI that replaces player.opened. However, they don't auto-close when the player walks away from the entity. This is especially awkward given that entities require you to be close enough in the first place.

PFQNiet commented 3 years ago

This should also extend to the entity being removed or destroyed, as the GUI will remain open and then crash the game when a change is attempted since the entity is no longer valid.