diff --git a/gamemode/modules/voting/cl_voting.lua b/gamemode/modules/voting/cl_voting.lua index 611351d1a..f068d2588 100644 --- a/gamemode/modules/voting/cl_voting.lua +++ b/gamemode/modules/voting/cl_voting.lua @@ -71,7 +71,6 @@ local function MsgDoVote(msg) ybutton:SetParent(panel) ybutton:SetPos(25, panel:GetTall() - 25) ybutton:SetSize(40, 20) - ybutton:SetCommand("!") ybutton:SetText(DarkRP.getPhrase("yes")) ybutton:SetVisible(true) ybutton.DoClick = function() @@ -83,7 +82,6 @@ local function MsgDoVote(msg) nbutton:SetParent(panel) nbutton:SetPos(70, panel:GetTall() - 25) nbutton:SetSize(40, 20) - nbutton:SetCommand("!") nbutton:SetText(DarkRP.getPhrase("no")) nbutton:SetVisible(true) nbutton.DoClick = function()