mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Fixes #9894
This commit is contained in:
@@ -381,7 +381,9 @@ datum/controller/vote
|
|||||||
if(usr.client.holder)
|
if(usr.client.holder)
|
||||||
initiate_vote("custom",usr.key)
|
initiate_vote("custom",usr.key)
|
||||||
else
|
else
|
||||||
submit_vote(usr.ckey, round(text2num(href_list["vote"])))
|
var/t = round(text2num(href_list["vote"]))
|
||||||
|
if(t) // It starts from 1, so there's no problem
|
||||||
|
submit_vote(usr.ckey, t)
|
||||||
usr.vote()
|
usr.vote()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user