diff --git a/scpt/src/ai/syui/game/character.zsh b/scpt/src/ai/syui/game/character.zsh index 5f1743d..8398748 100755 --- a/scpt/src/ai/syui/game/character.zsh +++ b/scpt/src/ai/syui/game/character.zsh @@ -337,11 +337,11 @@ get_game_user() { } delete_game_user() { - rkey=$1 - if [ -z "$2" ];then + rkey=$2 + if [ -z "$1" ];then col=ai.syui.game.user else - col=$2 + col=$1 fi req=com.atproto.repo.DeleteRecord url=https://$pds/xrpc/$req