Commit 88f60b93 authored by Jonah's avatar Jonah

changed criteria for removing ban

changed ==0 to <=0 just in case their rounds left somehow ends up as a negative int
parent 5645083b
......@@ -81,7 +81,7 @@ local function propban_check()
if v:Alive() and rounds_left > 0 then
rounds_left=rounds_left -1
if rounds_left == 0 then
if rounds_left <= 0 then
v:RemovePData("propban_rounds")
v:RemovePData("propban_reason")
v:ChatPrint("You are no longer prop banned")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment