From fc046fb8ca95b83fd5651591f17e94269df3211c Mon Sep 17 00:00:00 2001 From: Acruid Date: Sat, 31 Aug 2019 17:49:18 -0700 Subject: [PATCH] Move ClientChangedHandMsg to Content assembly. This Resolves https://github.com/space-wizards/RobustToolbox/issues/703. Update Submodule. --- .../Components/Items/SharedHandsComponent.cs | 12 ++++++++++++ RobustToolbox | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Content.Shared/GameObjects/Components/Items/SharedHandsComponent.cs b/Content.Shared/GameObjects/Components/Items/SharedHandsComponent.cs index 3fe8870b75..045bd14872 100644 --- a/Content.Shared/GameObjects/Components/Items/SharedHandsComponent.cs +++ b/Content.Shared/GameObjects/Components/Items/SharedHandsComponent.cs @@ -49,4 +49,16 @@ namespace Content.Shared.GameObjects Index = index; } } + + [Serializable, NetSerializable] + public class ClientChangedHandMsg : ComponentMessage + { + public string Index { get; } + + public ClientChangedHandMsg(string index) + { + Directed = true; + Index = index; + } + } } diff --git a/RobustToolbox b/RobustToolbox index 25f14ff1b6..c5c9f2dbd3 160000 --- a/RobustToolbox +++ b/RobustToolbox @@ -1 +1 @@ -Subproject commit 25f14ff1b647beb64dcb3b1efcec33285acd93ba +Subproject commit c5c9f2dbd3178bff8823004b5898635c26a4b5aa