Skip to content

Commit

Permalink
Rename 'Rcon' control to RCON
Browse files Browse the repository at this point in the history
  • Loading branch information
ijre committed Nov 11, 2023
1 parent a7995b1 commit eae782f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions src/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private void SaveSettings_Click(object sender, EventArgs e)

bool user = interactable[i].Name == Username.Name && !AnonymousLogin.Checked;
bool pass = interactable[i].Name == PasswordLogin.Name && !AnonymousLogin.Checked;
bool rcon = interactable[i].Name == Rcon.Name;
bool rcon = interactable[i].Name == RCON.Name;

if (user && !SaveLoginDetails.Checked
||
Expand Down Expand Up @@ -229,7 +229,7 @@ private void RunServerButton_Click(object sender, EventArgs e)
string arguments =
$"-console {addDedicatedIfCS2} -game {GameInfo[GameListRunTab.SelectedIndex][InfoEnum.INTERNAL_NAME]} -port {UDPPort.Text} +hostname \"{Hostname.Text}\" " +
$"+map {MapList.SelectedItem} +maxplayers {MaxPlayers.Text} +sv_lan {NetworkType.SelectedIndex} " +
$"+rcon_password {Rcon.Text} +sv_password {PasswordServer.Text} " +
$"+rcon_password {RCON.Text} +sv_password {PasswordServer.Text} " +
$"{buttonParams} {AdditionalCommands.Text}";


Expand Down Expand Up @@ -497,7 +497,7 @@ private void MapList_SelectedIndexChanged(object sender, EventArgs e)

private void HideRCON_CheckedChanged(object sender, EventArgs e)
{
Rcon.UseSystemPasswordChar = HideRCON.Checked;
RCON.UseSystemPasswordChar = HideRCON.Checked;
}

private TextBox GetMenuForResponsibleLaunchParam(object objSender)
Expand Down

0 comments on commit eae782f

Please sign in to comment.