From bd385e6d0fe8cd52e0e28f490fa03045b1f5e90e Mon Sep 17 00:00:00 2001 From: "petethegoat@gmail.com" Date: Sun, 6 Jan 2013 21:48:25 +0000 Subject: [PATCH] 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 --- code/controllers/voting.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/controllers/voting.dm b/code/controllers/voting.dm index 2f7cef88f07..344134e6710 100644 --- a/code/controllers/voting.dm +++ b/code/controllers/voting.dm @@ -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 << "[text]\nType vote to place your votes.\nYou have [config.vote_period/10] seconds to vote." time_remaining = round(config.vote_period/10)