[0.9.8] GUI still present if mod was removed

This subforum contains all the issues which we already resolved.
Post Reply
drs9999
Filter Inserter
Filter Inserter
Posts: 831
Joined: Wed Mar 06, 2013 11:16 pm
Contact:

[0.9.8] GUI still present if mod was removed

Post by drs9999 »

I noticed that while I was working on the migration for my treefarm-mod. To make sure that it works I loaded a savegame that contained also my resource-monitor-mod, but it was not present in the current enviroment. After loading the save all related monitor-mod-items and so are removed (like expected) but the GUI is still present and because no code for it exists anymore you are not able to close it.

I guess that is because all mods share the same "GUI-space" and the game do not keep track which mod added which gui.
So I would suggest to internally add a string which contains the mod-name to the GUI-objects. If the related mod is disabled/removed the game can then destroy any GUIs that belong to the mod.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.9.8] GUI still present if mod was removed

Post by kovarex »

Thx for the report, we are aware of this and we are planning to solve this.

slpwnd
Factorio Staff
Factorio Staff
Posts: 1835
Joined: Sun Feb 03, 2013 2:51 pm
Contact:

Re: [0.9.8] GUI still present if mod was removed

Post by slpwnd »

This will be fixed in 0.10.1.

Post Reply

Return to “Resolved Problems and Bugs”