class ScrnLobbyFooter extends SRLobbyFooter; var automated GUIButton b_ViewMap; function bool InternalOnPreDraw(Canvas C) { // disable View Map button in story more if ( !PlayerOwner().GameReplicationInfo.bMatchHasBegun && KF_StoryGRI(PlayerOwner().Level.GRI) == none ) b_ViewMap.EnableMe(); else b_ViewMap.DisableMe(); return super.InternalOnPreDraw(C); } // overrided to position buttons by TabOrder function PositionButtons (Canvas C) { local int i, j; local GUIButton b; local array buttons; local float x; // sort buttons by tab order for ( i = 0; i < Controls.Length; i++ ) { b = GUIButton(Controls[i]); if ( b != None) { for ( j=0; j= b.TabOrder ) break; } buttons.insert(j, 1); buttons[j] = b; } } // position buttons for ( j=0; j