vis_locs doesn't work
Numbered Steps to Reproduce Problem:
Add an object to something's vis_contents
Checking that object's vis_locs.len always results in 0
Code Snippet (if applicable) to Reproduce Problem:
CheckVisLocs()
var/obj/O = new
var/obj/N = new
O.vis_contents += N
world.log << "[N.vis_locs.len]"
Expected Results:
"If this atom is in any other atoms' visual contents, those parent atoms will appear in this list."
Actual Results:
0
Does the problem occur:
Every time? Or how often? Y
In other games? Y
In other user accounts? Y
On other computers? Y
When does the problem NOT occur?
Never
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.)
feature new to 512
Workarounds:
make your own variable to do the same thing