Skip to content

Commit

Permalink
fix: DeviceRemoved DeviceIndex needs to be variable not getter
Browse files Browse the repository at this point in the history
Fixes #683
  • Loading branch information
qdot committed Jun 25, 2023
1 parent 138a942 commit fb74af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Buttplug/Core/Messages/Messages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ public class DeviceRemoved : ButtplugMessage, IButtplugMessageOutgoingOnly
/// Device index.
/// </summary>
[JsonProperty(Required = Required.Always)]
public uint DeviceIndex { get; }
public readonly uint DeviceIndex;

/// <summary>
/// Initializes a new instance of the <see cref="DeviceRemoved"/> class.
Expand Down

0 comments on commit fb74af5

Please sign in to comment.