Skip to content

Commit

Permalink
remove calls to SetCommand
Browse files Browse the repository at this point in the history
SetCommand was removed
  • Loading branch information
Aws0mee authored and FPtje committed Dec 16, 2023
1 parent d156914 commit 7287eec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gamemode/modules/voting/cl_voting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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()
Expand Down

0 comments on commit 7287eec

Please sign in to comment.