Fix for obj_1.depth = 10; crashing when obj_1 isn't in the room.
Merge pull request #793 from sorlok/depth_crash

Fix for obj_1.depth = 10; crashing when obj_1 isn't in the room.