Skip to content

Commit

Permalink
Update channel topic when player extra options updated
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantBartlett committed Oct 18, 2024
1 parent 0627385 commit e73fb15
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions DXMainClient/DXGUI/Multiplayer/GameLobby/CnCNetGameLobby.cs
Original file line number Diff line number Diff line change
Expand Up @@ -876,11 +876,7 @@ protected override void PlayerExtraOptions_OptionsChanged(object sender, EventAr

protected override void BroadcastPlayerExtraOptions()
{
if (!IsHost)
return;

var playerExtraOptions = GetPlayerExtraOptions();
channel.SendCTCPMessage(playerExtraOptions.ToCncnetMessage(), QueuedMessageType.GAME_PLAYERS_EXTRA_MESSAGE, 11, true);
UpdateChannelTopic();
}

/// <summary>
Expand Down

0 comments on commit e73fb15

Please sign in to comment.