Browse files

If you are an avatar with graphics set up, only print the disconnected

from space message if owner of graphics disconnects, instead of in general.
  • Loading branch information...
bmistree committed Mar 12, 2012
1 parent 84b17be commit 29b0b8e0ddcb2389af08c55790f7f37b48dff8c1
Showing with 5 additions and 0 deletions.
  1. +5 −0 liboh/plugins/ogre/OgreSystem.cpp
@@ -693,6 +693,11 @@ void OgreSystem::iOnSessionDisconnected(
+ //don't do anything if it's just one of the main presence's siblings that
+ //was disconnected.
+ if (name != mPresenceID)
+ return;
if (stopped)
SILOG(ogre,error,"Received iOnDisconnecte after having stopped ogre system");

0 comments on commit 29b0b8e

Please sign in to comment.