Skip to content

Commit

Permalink
dotnet format
Browse files Browse the repository at this point in the history
  • Loading branch information
andybak committed Oct 9, 2024
1 parent 3e3bc6f commit 562b5bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Assets/Scripts/GUI/MultiplayerPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public string RoomName
{
data.roomName = value;
UpdateRoomNumberDisplay();
UpdateRoomExistenceMessage();
UpdateRoomExistenceMessage();
}
}

Expand Down Expand Up @@ -157,7 +157,7 @@ private void UpdateMode(Mode newMode)

private void RefreshObjects()
{

}

// This function serves as a callback from ProfilePopUpButtons that want to
Expand All @@ -172,7 +172,7 @@ public void OnMultiplayerPanelButtonPressed(MultiplayerPanelButton button)
RefreshObjects();
break;
case SketchControlsScript.GlobalCommands.MultiplayerPanelOptions:
switch((Mode)button.m_CommandParam)
switch ((Mode)button.m_CommandParam)
{
case Mode.Lobby:
UpdateMode(Mode.Lobby);
Expand Down
6 changes: 3 additions & 3 deletions Assets/Scripts/GUI/MultiplayerPanelButton.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ public class MultiplayerPanelButton : OptionButton
[SerializeField] private bool m_CommandIgnored = false;

override protected void OnButtonPressed()
{
{

MultiplayerPanel popup = m_Manager.GetComponent<MultiplayerPanel>();

// For some circumstances on mobile, we want to ignore the command, but still
// notify the popup that we were pressed. Which happens below.
if (!m_CommandIgnored)
Expand All @@ -37,7 +37,7 @@ override protected void OnButtonPressed()
base.OnButtonPressed();
}


Debug.Assert(popup != null);
popup.OnMultiplayerPanelButtonPressed(this);
}
Expand Down

0 comments on commit 562b5bd

Please sign in to comment.