Skip to content

Commit

Permalink
fix modifying the doafter hashset when cancelling
Browse files Browse the repository at this point in the history
  • Loading branch information
Doctor-Cpu committed Feb 6, 2025
1 parent ee470d9 commit 9ba7c37
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Content.Shared/Surgery/Components/ISurgeryReciever.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ public interface ISurgeryReciever
/// Keep track of doafters as they will need to be cancelled when we change node
/// </summary>
[ViewVariables]
public List<DoAfterId> DoAfters { get; set; }
public HashSet<DoAfterId> DoAfters { get; set; }
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ public sealed partial class SurgeryBodyPartReciever : ISurgeryReciever
public SurgeryNode? CurrentNode { get; set; }

[ViewVariables]
public List<DoAfterId> DoAfters { get; set; } = new();
public HashSet<DoAfterId> DoAfters { get; set; } = new();
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ public sealed partial class SurgeryRecieverComponent : Component, ISurgeryReciev
public SurgeryNode? CurrentNode { get; set; }

[ViewVariables]
public List<DoAfterId> DoAfters { get; set; } = new();
public HashSet<DoAfterId> DoAfters { get; set; } = new();
}

0 comments on commit 9ba7c37

Please sign in to comment.