mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Set hostname via 'hostname' ConVar instead
This commit is contained in:
parent
87157d3202
commit
4a512522ab
@ -751,7 +751,7 @@ eLaunchMode CUIBaseSurface::BuildParameter(string& svParameters)
|
||||
// MAIN ###############################################################
|
||||
if (!String::IsNullOrEmpty(this->m_HostNameTextBox->Text()))
|
||||
{
|
||||
svParameters.append("+sv_pylonHostName \"" + this->m_HostNameTextBox->Text() + "\" ");
|
||||
svParameters.append("+hostname \"" + this->m_HostNameTextBox->Text() + "\" ");
|
||||
|
||||
switch (static_cast<eVisibility>(this->m_VisibilityCombo->SelectedIndex()))
|
||||
{
|
||||
@ -845,7 +845,7 @@ eLaunchMode CUIBaseSurface::BuildParameter(string& svParameters)
|
||||
// MAIN ###############################################################
|
||||
if (!String::IsNullOrEmpty(this->m_HostNameTextBox->Text()))
|
||||
{
|
||||
svParameters.append("+sv_pylonHostName \"" + this->m_HostNameTextBox->Text() + "\" ");
|
||||
svParameters.append("+hostname \"" + this->m_HostNameTextBox->Text() + "\" ");
|
||||
|
||||
switch (static_cast<eVisibility>(this->m_VisibilityCombo->SelectedIndex()))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user