[MIRROR] span_warning for vote messages (#9168)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
CHOMPStation2
2024-10-05 16:52:29 -07:00
committed by GitHub
parent d6cb0e004d
commit d9c751c787
2 changed files with 3 additions and 3 deletions

View File

@@ -117,7 +117,7 @@
return null return null
/datum/vote/proc/announce(start_text, var/time = vote_time) /datum/vote/proc/announce(start_text, var/time = vote_time/10)
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. \ 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] seconds to vote."))
world << sound('sound/ambience/alarm4.ogg', repeat = 0, wait = 0, volume = 50, channel = 3) world << sound('sound/ambience/alarm4.ogg', repeat = 0, wait = 0, volume = 50, channel = 3)

View File

@@ -5,7 +5,7 @@
if(SSvote.active_vote) if(SSvote.active_vote)
SSvote.active_vote.tgui_interact(usr) SSvote.active_vote.tgui_interact(usr)
else else
to_chat(usr, "There is no active vote") to_chat(usr, span_warning("There is no active vote"))
/client/proc/start_vote() /client/proc/start_vote()
set category = "Admin.Game" // CHOMPEdit set category = "Admin.Game" // CHOMPEdit
@@ -16,7 +16,7 @@
return return
if(SSvote.active_vote) if(SSvote.active_vote)
to_chat(usr, "A vote is already in progress") to_chat(usr, span_warning("A vote is already in progress"))
return return
var/vote_types = subtypesof(/datum/vote) var/vote_types = subtypesof(/datum/vote)