mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 04:28:12 +01:00
Fix2
This commit is contained in:
@@ -5,18 +5,18 @@
|
||||
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"
|
||||
set name = "Start Vote"
|
||||
set desc = "Start a vote on the server"
|
||||
|
||||
if(!is_admin())
|
||||
if(!is_admin(usr))
|
||||
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