revert Message_PlayerJoined. This logic is changing.
This commit is contained in:
@@ -22,7 +22,6 @@ void ScreenAttract::Init()
|
|||||||
{
|
{
|
||||||
RESET_GAME_STATE.Load( m_sName, "ResetGameState" );
|
RESET_GAME_STATE.Load( m_sName, "ResetGameState" );
|
||||||
ATTRACT_VOLUME.Load( m_sName, "AttractVolume" );
|
ATTRACT_VOLUME.Load( m_sName, "AttractVolume" );
|
||||||
this->SubscribeToMessage( Message_PlayerJoined );
|
|
||||||
ScreenWithMenuElements::Init();
|
ScreenWithMenuElements::Init();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -125,14 +124,6 @@ void ScreenAttract::StartPlayingMusic()
|
|||||||
ScreenWithMenuElements::StartPlayingMusic();
|
ScreenWithMenuElements::StartPlayingMusic();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScreenAttract::HandleMessage( const Message &msg )
|
|
||||||
{
|
|
||||||
if( msg == Message_PlayerJoined )
|
|
||||||
this->Cancel( SM_GoToStartScreen );
|
|
||||||
|
|
||||||
ScreenWithMenuElements::HandleMessage( msg );
|
|
||||||
}
|
|
||||||
|
|
||||||
void ScreenAttract::HandleScreenMessage( const ScreenMessage SM )
|
void ScreenAttract::HandleScreenMessage( const ScreenMessage SM )
|
||||||
{
|
{
|
||||||
if( SM == SM_MenuTimer ||
|
if( SM == SM_MenuTimer ||
|
||||||
|
|||||||
@@ -18,7 +18,6 @@ public:
|
|||||||
static void SetAttractVolume( bool bInAttract );
|
static void SetAttractVolume( bool bInAttract );
|
||||||
|
|
||||||
virtual void Input( const InputEventPlus &input );
|
virtual void Input( const InputEventPlus &input );
|
||||||
virtual void HandleMessage( const Message &msg );
|
|
||||||
virtual void HandleScreenMessage( const ScreenMessage SM );
|
virtual void HandleScreenMessage( const ScreenMessage SM );
|
||||||
virtual void Cancel( ScreenMessage smSendWhenDone );
|
virtual void Cancel( ScreenMessage smSendWhenDone );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user