mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
[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:
@@ -117,7 +117,7 @@
|
||||
|
||||
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. \
|
||||
You have [time] seconds to vote."))
|
||||
world << sound('sound/ambience/alarm4.ogg', repeat = 0, wait = 0, volume = 50, channel = 3)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
if(SSvote.active_vote)
|
||||
SSvote.active_vote.tgui_interact(usr)
|
||||
else
|
||||
to_chat(usr, "There is no active vote")
|
||||
to_chat(usr, span_warning("There is no active vote"))
|
||||
|
||||
/client/proc/start_vote()
|
||||
set category = "Admin.Game" // CHOMPEdit
|
||||
@@ -16,7 +16,7 @@
|
||||
return
|
||||
|
||||
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
|
||||
|
||||
var/vote_types = subtypesof(/datum/vote)
|
||||
|
||||
Reference in New Issue
Block a user