mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user