mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 20:37:34 +01:00
@@ -200,6 +200,12 @@ var/datum/controller/subsystem/vote/SSvote
|
||||
if(vote in choices)
|
||||
if(current_votes[ckey])
|
||||
choices[current_votes[ckey]]["votes"]--
|
||||
var/vote_descriptor = ""
|
||||
if(isnewplayer(usr))
|
||||
vote_descriptor = ", from the lobby"
|
||||
else if(isobserver(usr))
|
||||
vote_descriptor = ", as an observer"
|
||||
log_vote("[ckey] submitted their vote for: [vote][vote_descriptor]")
|
||||
voted += usr.ckey
|
||||
choices[vote]["votes"]++ //check this
|
||||
current_votes[ckey] = vote
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
author: Geeves
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- rscadd: "Voting for something is now logged."
|
||||
Reference in New Issue
Block a user