Skip to content

Commit

Permalink
Fix rslays <name> 0 for reseting round slays
Browse files Browse the repository at this point in the history
  • Loading branch information
Bara committed Jun 8, 2018
1 parent 842a50a commit d61afd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/sourcemod/scripting/ttt/core/natives.sp
Expand Up @@ -361,9 +361,9 @@ public int Native_SetRoundSlays(Handle plugin, int numParams)
{
int rounds = GetNativeCell(2);

if (rounds < 1)
if (rounds < 0)
{
CReplyToCommand(client, "Rounds must be positive and higher as zero.");
CReplyToCommand(client, "Rounds must be zero (reset) or higher.");
return -1;
}

Expand Down

0 comments on commit d61afd5

Please sign in to comment.