Skip to content

Commit

Permalink
Make simple warlist a bit cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
ChillerDragon committed Aug 28, 2024
1 parent 93b78b0 commit c569370
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,6 @@ bool CWarList::OnChatCmdSimple(char Prefix, int ClientId, int Team, const char *
m_pClient->m_Chat.AddLine(-2, 0, "!delteam <name>");
// m_pClient->m_Chat.AddLine(-2, 0, "!search <name>");
}
else if(!str_comp(pCmd, "create"))
{
m_pClient->m_Chat.AddLine(-2, 0, "Error: create only works in advanced warlist mode");
return true;
}
else if(!str_comp(pCmd, "war") || !str_comp(pCmd, "addwar")) // "war <name>"
{
AddSimpleWar(pRawArgLine);
Expand All @@ -130,6 +125,7 @@ bool CWarList::OnChatCmdSimple(char Prefix, int ClientId, int Team, const char *
}
else if(
!str_comp(pCmd, "addreason") ||
!str_comp(pCmd, "create") ||
!str_comp(pCmd, "addtraitor"))
{
char aBuf[512];
Expand Down

0 comments on commit c569370

Please sign in to comment.