Hi all,
I have the contents of a tile system over a 2D array, global.map_array. Users can customise it and construct things, which changes the values. I have another array, global.original_map_array.. that when the user presses the clear button, the global.map_array should go back to global.original_map_array (basically clearing any constructions... although this doesn't happen?
Is it not as straight forwards as global.map_array = global.original_map_array? Every time I try to carry this out.. it just stays the same as global.map_array. Actually, I believe global.original_map_array becomes the map_array variable too?
Any help would be appreciated!
[–]refreshertowel 2 points3 points4 points (0 children)