fix sorting
This commit is contained in:
@@ -37,6 +37,8 @@ void ScreenAttract::Init()
|
|||||||
LOG->Trace( "ScreenAttract::ScreenAttract(%s)", m_sName.c_str() );
|
LOG->Trace( "ScreenAttract::ScreenAttract(%s)", m_sName.c_str() );
|
||||||
|
|
||||||
ScreenWithMenuElements::Init();
|
ScreenWithMenuElements::Init();
|
||||||
|
|
||||||
|
this->SortByDrawOrder();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -40,8 +40,7 @@ void ScreenDemonstration::Init()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
this->MoveToTail( &m_In );
|
this->SortByDrawOrder();
|
||||||
this->MoveToTail( &m_Out );
|
|
||||||
|
|
||||||
ClearMessageQueue(); // remove all of the messages set in ScreenGameplay that drive "ready", "go", etc.
|
ClearMessageQueue(); // remove all of the messages set in ScreenGameplay that drive "ready", "go", etc.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user