forked from SpaceStation14-Shenanigans/Monolith
Remove server-side RefreshInHands, refresh them on component state update
This commit is contained in:
@@ -406,11 +406,6 @@ namespace Content.Server.GameObjects
|
||||
return hands.ContainsKey(index);
|
||||
}
|
||||
|
||||
public void RefreshInHands()
|
||||
{
|
||||
SendNetworkMessage(new RefreshInHandsMsg());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the name of the slot passed to the inventory component.
|
||||
/// </summary>
|
||||
|
||||
@@ -191,11 +191,6 @@ namespace Content.Server.Interfaces.GameObjects
|
||||
/// <returns>True if the hand exists, false otherwise.</returns>
|
||||
bool HasHand(string index);
|
||||
|
||||
/// <summary>
|
||||
/// Refresh all in-hands sprites.
|
||||
/// </summary>
|
||||
void RefreshInHands();
|
||||
|
||||
void HandleSlotModifiedMaybe(ContainerModifiedMessage message);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user