Skip to content

Commit

Permalink
fix /avocat
Browse files Browse the repository at this point in the history
  • Loading branch information
kossolax committed Nov 2, 2015
1 parent f56d26c commit 1063f6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/roleplay_voice.sp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public int MenuJobs(Handle p_hItemMenu, MenuAction p_oAction, int client, int p_
if(!IsValidClient(i))
continue;

if(jobid == -2 && rp_GetClientInt(i, i_Avocat) < 0)
if(jobid == -2 && rp_GetClientInt(i, i_Avocat) <= 0)
continue;

if(jobid >= 0 && (i == client || rp_GetClientJobID(i) != jobid))
Expand Down

0 comments on commit 1063f6a

Please sign in to comment.