Skip to content

Commit

Permalink
Disable party filter (not supported yet)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanmoffat committed Mar 19, 2022
1 parent c919c6a commit 146ef78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion EndlessClient/HUD/Panels/OnlineListPanel.cs
Expand Up @@ -9,7 +9,6 @@
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Optional.Unsafe;
using System;
using System.Collections.Generic;
using System.Linq;
using XNAControls;
Expand Down Expand Up @@ -118,6 +117,9 @@ protected override void OnUpdateControl(GameTime gameTime)
PreviousMouseState.LeftButton == ButtonState.Pressed)
{
_filter = (Filter)(((int)_filter + 1) % (int)Filter.Max);
if (_filter == Filter.Party) // todo: show this when guild/party is supported
_filter = (Filter)(((int)_filter + 1) % (int)Filter.Max);

_scrollBar.ScrollToTop();

switch (_filter)
Expand Down

0 comments on commit 146ef78

Please sign in to comment.