From e59aa1c2cc5757827f852917bd2225a7254ac1b0 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Tue, 24 Nov 2020 00:15:00 +0100 Subject: [PATCH] Fix another case of constant expression DataField. --- .../GameObjects/Components/Instruments/InstrumentComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Client/GameObjects/Components/Instruments/InstrumentComponent.cs b/Content.Client/GameObjects/Components/Instruments/InstrumentComponent.cs index d30bcf6da9..82c46e5a94 100644 --- a/Content.Client/GameObjects/Components/Instruments/InstrumentComponent.cs +++ b/Content.Client/GameObjects/Components/Instruments/InstrumentComponent.cs @@ -227,7 +227,7 @@ namespace Content.Client.GameObjects.Components.Instruments public override void ExposeData(ObjectSerializer serializer) { base.ExposeData(serializer); - serializer.DataField(this, x => Handheld, "handheld", false); + serializer.DataField(this, x => x.Handheld, "handheld", false); serializer.DataField(ref _instrumentProgram, "program", (byte) 1); serializer.DataField(ref _instrumentBank, "bank", (byte) 0); serializer.DataField(ref _allowPercussion, "allowPercussion", false);