ID:2424897
 
Not a bug
BYOND Version:512
Operating System:Windows 10 Pro
Web Browser:Chrome 71.0.3578.98
Applies to:DM Language
Status: Not a bug

This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND forums.
Descriptive Problem Summary:
list.Copy() returns a reference to the variables inside of the list.
Before it made a copy of said variables.

Numbered Steps to Reproduce Problem:
1. Have a list with objects, list/A
2. Do a Copy. var/list/B = A.Copy()
3. See that the variables inside are references to the variables of the original.
Code Snippet (if applicable) to Reproduce Problem:
See the workaround link

Expected Results:
That the objects are copied into the new list

Actual Results:
The objects are passed as a reference

Does the problem occur:
It happens all the time for multiple players on paradise station. A ss13 server. https://github.com/ParadiseSS13/Paradise

When does the problem NOT occur?
When you do a manual deep copy

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
It started to occur yesterday. 27/1 according to other players.

Workarounds:
https://github.com/ParadiseSS13/Paradise/pull/10767
See this pull request to see the workaround
list.Copy has always been a shallow copy. If you saw anything different, you weren't using the built-in list.Copy.

Unless this change happened after you updated your BYOND version, it's probably not due to a change in BYOND. The last update was a couple weeks ago. You should actually test with an earlier version if you think it's really a sudden change in the engine.
Tested it on 511.1385 with the broken code and it worked there. 512.1462 also works
Lummox JR resolved issue (Not a bug)
Coming back on my earlier tests. Seems like I used a wrong repo to test. The bug was found earlier. It's an odd one how this worked before but it's not due to Copy.