Deal gracefully with moving to a non-existent location.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1385 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Walter Korman
2002-05-22 21:47:14 +00:00
parent b4982af8bc
commit ed25692d93
2 changed files with 13 additions and 9 deletions
@@ -1,5 +1,5 @@
//
// $Id: ChatDirector.java,v 1.20 2002/04/30 17:27:30 mdb Exp $
// $Id: ChatDirector.java,v 1.21 2002/05/22 21:44:54 shaper Exp $
package com.threerings.crowd.chat;
@@ -186,7 +186,9 @@ public class ChatDirector
// listen to the new object
_place = place;
_place.addListener(this);
if (_place != null) {
_place.addListener(this);
}
}
// documentation inherited