all ScreenSelect derivatives already have a hard-coded subscribe to PlayerJoined
This commit is contained in:
@@ -28,7 +28,7 @@ void ScreenSelect::Init()
|
||||
split( UPDATE_ON_MESSAGE, ",", m_asSubscribedMessages );
|
||||
for( unsigned i = 0; i < m_asSubscribedMessages.size(); ++i )
|
||||
MESSAGEMAN->Subscribe( this, m_asSubscribedMessages[i] );
|
||||
// Only subscribe once.
|
||||
// Subscribe to PlayerJoined, if not already.
|
||||
if( !MESSAGEMAN->IsSubscribedToMessage(this, Message_PlayerJoined) )
|
||||
this->SubscribeToMessage( Message_PlayerJoined );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user