Remove redundancy

This commit is contained in:
Jackson Lewis
2020-04-20 12:57:05 +01:00
parent 6a22f2629b
commit 3c6cbecb12
4 changed files with 16 additions and 53 deletions

View File

@@ -67,19 +67,6 @@ namespace Content.Client.GameObjects
}
}
public override void HandleNetworkMessage(ComponentMessage message, INetChannel channel, ICommonSession session = null)
{
switch (message)
{
case PlayerAttachedMsg _:
SetOverlay(_currentEffect);
break;
case PlayerDetachedMsg _:
RemoveOverlay();
break;
}
}
public override void HandleComponentState(ComponentState curState, ComponentState nextState)
{
base.HandleComponentState(curState, nextState);