;Hello, has something changed with array referencing? (Or at least I think it's called that)
I have a script that gets an array from another object, and I do that using
var chatHistory = Obj_GameSystem.GameSystemChatHistory;
Later in that script, Obj_GameSystem.GameSystemChatHistory is modified, using the data in var chatHistory.
The intended result is that var chatHistory stays as an old copy of the other variable, and for months, it worked like that.. until recently.
Now, var chatHistory seems to reference the variable it was meant to only copy.
This breaks my chat system and inventory system, but I've managed to fix the chat system using
var chatHistory = variable_clone(Obj_GameSystem.GameSystemChatHistory);
.,..i kinda fear having to comb through all my code for the places i need to put "variable_clone" into, so i'd like to know first if this change in array-referencing behavior is something i did, or if it was part of a gamemaker update
(Update: Despite toggling "Enable Copy On Write Behaviour for Arrays", the game's still broken from unintentional array references)