for(var/Buildings/Bed/A in world)
Problem description: This may possibly be a BYOND bug.
For some strange reason, the player and anyone next to him/her gets teleported to the bed(B). What should be happening is just the player gets located to the bed. I've tested just setting a specific location(e.g. 1,1,1) and that works just fine. I don't know if I'm doing something wrong or if it's a BYOND bug.