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
ID:2424897
Jan 28 2019, 9:18 am
|
|||||||||||||
Not a bug
| |||||||||||||
Tested it on 511.1385 with the broken code and it worked there. 512.1462 also works
|
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.