Skip to content

Commit 211eeef

Browse files
committed
Fix stupid
1 parent 7904a82 commit 211eeef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/ulx/modules/sh/timed_civilize_vote.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if SERVER then
77
local function voteCivilizeDone( t, targetNick, targetSteamID, minutes, callingPly )
88
local voteYesCount = t.results[1] or 0
99
local voteNoCount = t.results[2] or 0
10-
local shouldCivilize = voteYesCount > 0
10+
local shouldCivilize = voteYesCount > voteNoCount
1111

1212
if not shouldCivilize then
1313
ulx.fancyLogAdmin( callingPly, "The populace has deemed the refinement of #s unworthy. Motion dismissed: #i in favor, #i opposed", targetNick, voteYesCount, voteNoCount )

0 commit comments

Comments
 (0)