Skip to content

Commit 458d9c9

Browse files
committed
Rename "cancel" to "cancelswap"
1 parent 53a5a76 commit 458d9c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/game/server/gamecontext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3757,7 +3757,7 @@ void CGameContext::RegisterChatCommands()
37573757
Console()->Register("practice", "?i['0'|'1']", CFGFLAG_CHAT | CFGFLAG_SERVER, ConPractice, this, "Enable cheats for your current team's run, but you can't earn a rank");
37583758
Console()->Register("practicecmdlist", "", CFGFLAG_CHAT | CFGFLAG_SERVER, ConPracticeCmdList, this, "List all commands that are avaliable in practice mode");
37593759
Console()->Register("swap", "?r[player name]", CFGFLAG_CHAT | CFGFLAG_SERVER, ConSwap, this, "Request to swap your tee with another team member");
3760-
Console()->Register("cancel", "", CFGFLAG_CHAT | CFGFLAG_SERVER, ConCancelSwap, this, "Cancel your swap request");
3760+
Console()->Register("cancelswap", "", CFGFLAG_CHAT | CFGFLAG_SERVER, ConCancelSwap, this, "Cancel your swap request");
37613761
Console()->Register("save", "?r[code]", CFGFLAG_CHAT | CFGFLAG_SERVER, ConSave, this, "Save team with code r.");
37623762
Console()->Register("load", "?r[code]", CFGFLAG_CHAT | CFGFLAG_SERVER, ConLoad, this, "Load with code r. /load to check your existing saves");
37633763
Console()->Register("map", "?r[map]", CFGFLAG_CHAT | CFGFLAG_SERVER | CFGFLAG_NONTEEHISTORIC, ConMap, this, "Vote a map by name");

src/game/server/teams.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ void CGameTeams::RequestTeamSwap(CPlayer *pPlayer, CPlayer *pTargetPlayer, int T
877877

878878
// Notification for the swap initiator
879879
str_format(aBuf, sizeof(aBuf),
880-
"You have requested to swap with %s. Use /cancel to cancel the request.",
880+
"You have requested to swap with %s. Use /cancelswap to cancel the request.",
881881
Server()->ClientName(pTargetPlayer->GetCid()));
882882
GameServer()->SendChatTarget(pPlayer->GetCid(), aBuf);
883883

0 commit comments

Comments
 (0)