fix: cancel kicked player's pending action to stop stale link re-add

This commit is contained in:
2026-07-21 20:25:21 +02:00
parent d248b772dc
commit b5ceba442a
+1
View File
@@ -393,6 +393,7 @@ public static class ClaimLinkChatCommand
{ {
ClaimLinkModSystem.Registry.RemoveAllForPlayerInGroup(targetUid, group.Uid); ClaimLinkModSystem.Registry.RemoveAllForPlayerInGroup(targetUid, group.Uid);
ClaimLinkCommandListener.PendingLoads.Remove(targetUid); ClaimLinkCommandListener.PendingLoads.Remove(targetUid);
PendingActions.Remove(targetUid);
return TextCommandResult.Success( return TextCommandResult.Success(
$"Unlinked all claims of {target.PlayerName} from '{groupName}'." $"Unlinked all claims of {target.PlayerName} from '{groupName}'."