Global Array : push / append have no effect

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Gussy
:warning: Old Version Published before Godot 3 was released.

Hi,

I have a global script autoloader with 2 global vars :

  • a dictionnary
  • an array

On _ready() function of this global script I can update both vars,
On other nodes functions, when I perform updates on my dictionary, everything runs fine
but when I try to append strings to my array, it has no effect at all.

Have an idea why ?

Are these variable declared with export? Can we see how you update them?

Zylann | 2016-08-27 19:54