Skip to content

Commit

Permalink
fix .name and .clan require reason
Browse files Browse the repository at this point in the history
  • Loading branch information
sjrc6 committed Jan 5, 2025
1 parent 0d25197 commit 64b76af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game/client/components/tclient/warlist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ void CWarList::OnConsoleInit()
Console()->Register("update_war_group", "i[group_index] s[name] i[color]", CFGFLAG_CLIENT, ConUpsertWarType, this, "Update or add a specific war group");
Console()->Register("add_war_entry", "s[group] s[name] s[clan] r[reason]", CFGFLAG_CLIENT, ConAddWarEntry, this, "Adds a specific war entry");

Console()->Register("war_name", "s[group] s[name] r[reason]", CFGFLAG_CLIENT, ConName, this, "Add a name war entry");
Console()->Register("war_clan", "s[group] s[clan] r[reason]", CFGFLAG_CLIENT, ConClan, this, "Add a clan war entry");
Console()->Register("war_name", "s[group] s[name] ?r[reason]", CFGFLAG_CLIENT, ConName, this, "Add a name war entry");
Console()->Register("war_clan", "s[group] s[clan] ?r[reason]", CFGFLAG_CLIENT, ConClan, this, "Add a clan war entry");
Console()->Register("remove_war_name", "s[group] s[name]", CFGFLAG_CLIENT, ConRemoveName, this, "Remove a name war entry");
Console()->Register("remove_war_clan", "s[group] s[clan]", CFGFLAG_CLIENT, ConRemoveClan, this, "Remove a clan war entry");

Expand Down

0 comments on commit 64b76af

Please sign in to comment.