Page 1 of 1

[0.9.8] GUI still present if mod was removed

Posted: Fri Apr 25, 2014 6:42 am
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.

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

Posted: Fri Apr 25, 2014 6:55 am
by kovarex
Thx for the report, we are aware of this and we are planning to solve this.

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

Posted: Tue Jun 17, 2014 1:13 pm
by slpwnd
This will be fixed in 0.10.1.