Fixes a runtime, almost definitely

This commit is contained in:
Putnam
2019-12-28 18:14:02 -08:00
parent 25d4b53f94
commit dda7c832f1
+2 -1
View File
@@ -181,7 +181,8 @@ SUBSYSTEM_DEF(vote)
for(var/i=1,i<=voted.len,i++)
var/list/myvote = voted[voted[i]]
for(var/j=1,j<=myvote.len,j++)
SSblackbox.record_feedback("nested tally","voting",1,list(vote_title_text,"[j]\th",choices[myvote[j]]))
if(choices.len <= 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
var/admintext = "Obfuscated results"
if(vote_system == RANKED_CHOICE_VOTING)