From f7224c238248e1de82cf666117b0979a434eed1b Mon Sep 17 00:00:00 2001 From: Mister_Nebula <41904486+misternebula@users.noreply.github.com> Date: Mon, 10 Aug 2020 17:11:14 +0100 Subject: [PATCH] fix crouching???? --- QSB/Messaging/AnimTriggerMessage.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/QSB/Messaging/AnimTriggerMessage.cs b/QSB/Messaging/AnimTriggerMessage.cs index e9cabfdf..4a084618 100644 --- a/QSB/Messaging/AnimTriggerMessage.cs +++ b/QSB/Messaging/AnimTriggerMessage.cs @@ -3,21 +3,24 @@ using UnityEngine.Networking; namespace QSB.Messaging { - public class AnimTriggerMessage : PlayerMessage + public class AnimTriggerMessage : MessageBase { public short TriggerId; + public uint SenderId; public float Value; public override void Deserialize(NetworkReader reader) { Value = reader.ReadSingle(); TriggerId = reader.ReadInt16(); + SenderId = reader.ReadPackedUInt32(); } public override void Serialize(NetworkWriter writer) { writer.Write(Value); writer.Write(TriggerId); + writer.Write(SenderId); } } }