fix: cancel kicked player's pending action to stop stale link re-add
This commit is contained in:
@@ -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}'."
|
||||||
|
|||||||
Reference in New Issue
Block a user