Mobile Factory

Update: Change of Leadership A mod with many features where you can make a Mobile Factory, build you base inside and travel around the world. The mod contain a way to transfer items via the Circuit Network, some nice way to mine Ore or extract Fluid, many new chemical elements, Jets who will work for you, Data Storage of Items, and many more ...
3 days ago
0.17 - 0.18
18761

b Remember GUI positions[Fixed]

- 2 months ago

It always has the default position when I load a save.

- 2 months ago

The GUI position are saved, you should have another problem

- 2 months ago

It's something to do with on_configuration_changed. If I edit a mod the position of the main tank gui is put at the default position. I have gui scaling turned on, and the default position always covers some of my research and map.

- 2 months ago

in scripts/GUI/main-gui.lua -> GUI.createMainGui, the two top blocks seemed to be switched around. The local declaration of variables is done after assigning the previous GUI locations (contrast with tooltip-gui)

I swapped the block in lines 4-9 with the block in lines 11-17. Now it's remembering the main gui position on configuration changed.