Teleporters

by Klonan

Adds Teleporters

Content
3 years ago
0.17 - 1.1
64.9K
Transportation

b Calling of gui.center.clear()

5 years ago

Hi,

i received 2 bug reports [1] [2] that the gui of my mod stops working.

After some digging i found that your mod clears all gui.center children, including my gui. I do prebuild for every user and keep them invisible until they're needed.

Can you change your mod to only clear your own frames?

cheers

[1] https://forums.factorio.com/viewtopic.php?f=214&t=68314#p419127
[2] https://mods.factorio.com/mod/LTN_Combinator/discussion/5c9c334ee95caf000b946e0d

5 years ago

Well, I suppose I can, but any mod can do this, and asking every mod and script to never use a base game provided method isn't viable long term.

I would suggest to fix this on your side, by doing what most other mods and scripts do, and create and destroy GUI's when you need them. I have no doubt in the long run this will help prevent other mods/scripts breaking your mod in the same way.

New response