Merge pull request #16635 from Kashargul/voteTimer

fixes vote announce time
This commit is contained in:
Heroman3003
2024-11-28 14:40:35 +10:00
committed by GitHub
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -117,9 +117,9 @@
return null
/datum/vote/proc/announce(start_text, var/time = vote_time/10)
/datum/vote/proc/announce(start_text, var/time = vote_time)
to_chat(world, span_lightpurple("Type <b>vote</b> or click <a href='?src=\ref[src];[HrefToken()];vote=open'>here</a> to place your vote. \
You have [time] seconds to vote."))
You have [time/10] seconds to vote."))
world << sound('sound/ambience/alarm4.ogg', repeat = 0, wait = 0, volume = 50, channel = 3)
/datum/vote/Topic(href, list/href_list)
@@ -71,7 +71,6 @@ export const Canister = (props) => {
<LabeledControls.Item label="Regulator">
<Box position="relative" left="-8px">
<Knob
width="60px"
size={1.25}
color={!!valveOpen && 'yellow'}
value={releasePressure}