Skip to content

Commit

Permalink
fix: q1v1 command unrated
Browse files Browse the repository at this point in the history
  • Loading branch information
Helias committed Sep 21, 2024
1 parent 8fe3eff commit c19703e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cs_1v1arena.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class CommandJoin1v1 : public CommandScript
return false;
}

if (!player->GetArenaTeamId(sConfigMgr->GetOption<uint32>("Arena1v1.ArenaSlotID", 3)))
if (!player->GetArenaTeamId(sConfigMgr->GetOption<uint32>("Arena1v1.ArenaSlotID", 3)) && isRated)
{
// create 1v1 team if player doesn't have it
if (!Command1v1.CreateArenateam(player, nullptr))
Expand Down

0 comments on commit c19703e

Please sign in to comment.