mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-11 18:33:36 +00:00
actually screw this "remove if recent" thing it's too much trouble
This commit is contained in:
@@ -181,8 +181,7 @@ SUBSYSTEM_DEF(vote)
|
|||||||
for(var/i=1,i<=voted.len,i++)
|
for(var/i=1,i<=voted.len,i++)
|
||||||
var/list/myvote = voted[voted[i]]
|
var/list/myvote = voted[voted[i]]
|
||||||
for(var/j=1,j<=myvote.len,j++)
|
for(var/j=1,j<=myvote.len,j++)
|
||||||
if(choices.len <= myvote[j])
|
SSblackbox.record_feedback("nested tally","voting",1,list(vote_title_text,"[j]\th",choices[myvote[j]]))
|
||||||
SSblackbox.record_feedback("nested tally","voting",1,list(vote_title_text,"[j]\th",choices[myvote[j]]))
|
|
||||||
if(obfuscated) //CIT CHANGE - adds obfuscated votes. this messages admins with the vote's true results
|
if(obfuscated) //CIT CHANGE - adds obfuscated votes. this messages admins with the vote's true results
|
||||||
var/admintext = "Obfuscated results"
|
var/admintext = "Obfuscated results"
|
||||||
if(vote_system == RANKED_CHOICE_VOTING)
|
if(vote_system == RANKED_CHOICE_VOTING)
|
||||||
@@ -332,13 +331,8 @@ SUBSYSTEM_DEF(vote)
|
|||||||
if("dynamic")
|
if("dynamic")
|
||||||
for(var/T in config.storyteller_cache)
|
for(var/T in config.storyteller_cache)
|
||||||
var/datum/dynamic_storyteller/S = T
|
var/datum/dynamic_storyteller/S = T
|
||||||
var/recent_rounds = 0
|
choices.Add(initial(S.name))
|
||||||
for(var/i in 1 to 3)
|
choice_descs.Add(initial(S.desc))
|
||||||
if(SSpersistence.saved_storytellers[i] == initial(S.name))
|
|
||||||
recent_rounds++
|
|
||||||
if(recent_rounds<initial(S.weight))
|
|
||||||
choices.Add(initial(S.name))
|
|
||||||
choice_descs.Add(initial(S.desc))
|
|
||||||
choices.Add("Secret")
|
choices.Add("Secret")
|
||||||
choice_descs.Add("Standard secret. Switches mode if it wins.")
|
choice_descs.Add("Standard secret. Switches mode if it wins.")
|
||||||
if("custom")
|
if("custom")
|
||||||
|
|||||||
Reference in New Issue
Block a user