mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-10 14:44:05 +01:00
Ends voting herd mentality (#17838)
This commit is contained in:
@@ -375,10 +375,13 @@ SUBSYSTEM_DEF(vote)
|
||||
var/votes = choices[choices[i]]
|
||||
if(!votes)
|
||||
votes = 0
|
||||
var/vote_count = null
|
||||
if(check_rights(R_ADMIN, FALSE, C.mob))
|
||||
vote_count = " ([votes] vote\s)"
|
||||
if(current_votes[C.ckey] == i)
|
||||
. += "<li><b><a href='?src=[UID()];vote=[i]'>[choices[i]] ([votes] vote\s)</a></b></li>"
|
||||
. += "<li><b><a href='?src=[UID()];vote=[i]'>[choices[i]][vote_count]</a></b></li>"
|
||||
else
|
||||
. += "<li><a href='?src=[UID()];vote=[i]'>[choices[i]] ([votes] vote\s)</a></li>"
|
||||
. += "<li><a href='?src=[UID()];vote=[i]'>[choices[i]][vote_count]</a></li>"
|
||||
|
||||
. += "</ul>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user