Actually look in the right place for subscriptions.

This commit is contained in:
Steve Checkoway
2009-01-05 08:46:22 +00:00
parent 73f3c134f8
commit 3f800ece3d
3 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ void ScreenSelect::Init()
for( unsigned i = 0; i < m_asSubscribedMessages.size(); ++i )
MESSAGEMAN->Subscribe( this, m_asSubscribedMessages[i] );
// Only subscribe once.
if( !this->IsSubscribedToMessage(Message_PlayerJoined) )
if( !MESSAGEMAN->IsSubscribedToMessage(this, Message_PlayerJoined) )
this->SubscribeToMessage( Message_PlayerJoined );
//