Skip to content

Commit

Permalink
Update vote.dm (#11134)
Browse files Browse the repository at this point in the history
  • Loading branch information
XeonMations authored Jul 8, 2024
1 parent d858bb1 commit 0cb67fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/controllers/subsystem/vote.dm
Original file line number Diff line number Diff line change
Expand Up @@ -341,16 +341,16 @@ SUBSYSTEM_DEF(vote)
CONFIG_SET(flag/allow_vote_map, !CONFIG_GET(flag/allow_vote_map))
if("restart")
if(CONFIG_GET(flag/allow_vote_restart) || usr.client.holder)
initiate_vote("restart",usr.key)
initiate_vote("restart", usr.key, forced=TRUE, popup=TRUE)
if("gamemode")
if(CONFIG_GET(flag/allow_vote_mode) || usr.client.holder)
initiate_vote("gamemode",usr.key)
initiate_vote("gamemode", usr.key, forced=TRUE, popup=TRUE)
if("map")
if(CONFIG_GET(flag/allow_vote_map) || usr.client.holder)
initiate_vote("map",usr.key)
initiate_vote("map", usr.key, forced=TRUE, popup=TRUE)
if("custom")
if(usr.client.holder)
initiate_vote("custom",usr.key)
initiate_vote("custom", usr.key, forced=TRUE, popup=TRUE)
if("vote")
submit_vote(round(text2num(params["index"])))
return TRUE
Expand Down

0 comments on commit 0cb67fd

Please sign in to comment.