check to see if room is null before update dir

Yup! Try running zDemo