Trying to locate an /obj or /mob(I assume this will happen to /turf and /area aswell) when you give '/atom' or '/datum' on locate() (both for in world and in containers check).
Numbered Steps to Reproduce Problem:
Should be self-explanatory with the code
Code Snippet (if applicable) to Reproduce Problem:
/client/verb/locate_test()
var/list/L = list(new /obj)
var/obj/A = locate(/atom) in L
var/obj/B = locate(/atom/movable) in L
world << "A: [A]"
world << "B: [B]"
Expected Results:
A: The obj
B: The obj
Actual Results:
A:
B: The obj
Workarounds:
Manually looping the list and doing an istype() check on each element.