Custom votes now display the vote question when they are initiated.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5480 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
petethegoat@gmail.com
2013-01-06 21:48:25 +00:00
parent 0a1b16f620
commit bd385e6d0f
+2
View File
@@ -158,6 +158,8 @@ datum/controller/vote
initiator = initiator_key
started_timeofday = world.timeofday
var/text = "[capitalize(mode)] vote started by [initiator]."
if(mode == "custom")
text += "\n[question]"
log_vote(text)
world << "<font color='purple'><b>[text]</b>\nType vote to place your votes.\nYou have [config.vote_period/10] seconds to vote.</font>"
time_remaining = round(config.vote_period/10)