I have a problem with this code, there are times when the external design does not load and I don't understand the reason.


The bottom part is cut off, but it is the same as the rest.

It will be happening when the randomly generated number is the same as the previous value of Mapas. The trigger once will kick in there, and not load the external layouts because the global variable Mapas hasn’t changed.

1 Like