sorry to keep bothering you, but I just cant get it to work. i have:
live_code_updated = function(_name, _display_name) { show_debug_message("Reloaded " + _display_name + "(" + _name + ")"); if (_name == "enemies_struct") enemies_struct(); }
in the GMLive create event, and then :
live_code_updated("enemies_struct", "enemies stuct");
in the step event. I get "Reloaded enemies stuct(enemies_struct)" in the output, but when i change a value in the array it doesn't affect the game.
just for reference, this is what my function looks like, it's a struct complied of arrays:
![](https://img.itch.zone/aW1nLzE5NTExMDYxLnBuZw==/original/aUf7%2Fe.png)