Commit c4de133e authored by Jonah's avatar Jonah

changed a couple vars

parent 70e58704
......@@ -76,7 +76,7 @@ local function propban_check()
local affected_plys = {}
for _,v in pairs(player.GetAll()) do
local rounds_left = tonumber(v:GetPData("rgag_gags")) or 0
local rounds_left = tonumber(v:GetPData("propban_rounds")) or 0
if v:Alive() and rounds_left > 0 then
rounds_left=rounds_left -1
......@@ -110,7 +110,7 @@ local function propban_check()
local prop_message_context
if #affected_plys == 1 then prop_message_context ="was" else prop_message_context ="were" end
if #affected_plys ~= 0 then
ULib.tsay(_, prop_message .. " ".. prop_message_context .." gagged.")
ULib.tsay(_, prop_message .. " ".. prop_message_context .." prop banned.")
end
end
......
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