mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-18 14:12:20 +00:00
Made vote play alarm sound when started.
This commit is contained in:
@@ -196,6 +196,7 @@ datum/controller/vote
|
|||||||
text += "\n[question]"
|
text += "\n[question]"
|
||||||
log_vote(text)
|
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>"
|
world << "<font color='purple'><b>[text]</b>\nType vote to place your votes.\nYou have [config.vote_period/10] seconds to vote.</font>"
|
||||||
|
world << sound('misc/bloblarm.ogg')
|
||||||
time_remaining = round(config.vote_period/10)
|
time_remaining = round(config.vote_period/10)
|
||||||
return 1
|
return 1
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Reference in New Issue
Block a user