explicitly load commands to fix "command not loaded" asserts

This commit is contained in:
Chris Danford
2007-04-03 21:16:28 +00:00
parent 4f11ae0d98
commit 3f1862a1ee
2 changed files with 14 additions and 1 deletions
+3
View File
@@ -205,7 +205,10 @@ void ScreenNetSelectBase::UpdateUsers()
m_textUsers[i].SetXY( tX, tY );
if ( i > oldUsers )
{
LOAD_ALL_COMMANDS( m_textUsers[i] );
ON_COMMAND( m_textUsers[i] );
}
m_textUsers[i].SetText( NSMAN->m_PlayerNames[NSMAN->m_ActivePlayer[i]] );
m_textUsers[i].RunCommands( THEME->GetMetricA( m_sName,