Also added options for custom votes

This commit is contained in:
Putnam
2020-02-07 04:29:53 -08:00
parent 0ebd2a814f
commit 7f0a369870
2 changed files with 11 additions and 0 deletions
+2
View File
@@ -487,6 +487,8 @@ SUBSYSTEM_DEF(vote)
question = stripped_input(usr,"What is the vote for?")
if(!question)
return 0
var/system_string = input(usr,"Which voting type?",GLOB.vote_type_names[1]) in GLOB.vote_type_names
vote_system = GLOB.vote_type_names[system_string]
for(var/i=1,i<=10,i++)
var/option = capitalize(stripped_input(usr,"Please enter an option or hit cancel to finish"))
if(!option || mode || !usr.client)