rott/kf_sources/HideMut/Classes/repl_ServerBrowser.uc
2026-07-14 20:27:09 +07:00

38 lines
974 B
Ucode

class repl_ServerBrowser extends KFServerBrowser;
// (Function GUI2K4.UT2k4ServerBrowser.InitComponent:0040) Accessed none 'ch_Standard'
function InitComponent(GUIController MyController, GUIComponent MyOwner)
{
super(UT2K4MainPage).InitComponent(MyController, MyOwner);
f_Browser = UT2K4Browser_Footer(t_Footer);
f_Browser.p_Anchor = self;
// ADDITION!!! none check
if (f_Browser.ch_Standard != none)
{
f_Browser.ch_Standard.OnChange = StandardOptionChanged;
f_Browser.ch_Standard.SetComponentValue(bStandardServersOnly, true);
}
if (FilterMaster == none)
{
FilterMaster = new(self) class'GUI2K4.BrowserFilters';
FilterMaster.InitCustomFilters();
}
if (FilterInfo == none)
FilterInfo = new(none) class'Engine.PlayInfo';
Background = MyController.DefaultPens[0];
InitializeGameTypeCombo();
co_GameType.MyComboBox.Edit.bCaptureMouse = true;
CreateTabs();
}
defaultproperties
{
}