mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-27 07:08:55 +01:00
[MIRROR] digestion toggle geartweak (#12344)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
73d7d5ac3d
commit
d9d29ce17a
@@ -375,14 +375,9 @@ SUBSYSTEM_DEF(vote)
|
||||
CONFIG_SET(flag/allow_vote_mode, !CONFIG_GET(flag/allow_vote_mode)) // CHOMPEdit
|
||||
|
||||
if(VOTE_RESTART)
|
||||
<<<<<<< HEAD
|
||||
if(CONFIG_GET(flag/allow_vote_restart) || usr.client.holder) // CHOMPEdit
|
||||
initiate_vote(VOTE_RESTART, usr.key)
|
||||
=======
|
||||
if(config.allow_vote_restart || usr.client.holder)
|
||||
if(tgui_alert(usr, "Are you sure you want to start a RESTART VOTE? You should only do this if the server is dying and no staff are around to investigate.", "RESTART VOTE", list("No", "Yes I want to start a RESTART VOTE")) == "Yes I want to start a RESTART VOTE")
|
||||
initiate_vote(VOTE_RESTART, usr.key)
|
||||
>>>>>>> e8e986e6f5 (General Cleanup (#19088))
|
||||
if(VOTE_GAMEMODE)
|
||||
if(CONFIG_GET(flag/allow_vote_mode) || usr.client.holder) // CHOMPEdit
|
||||
initiate_vote(VOTE_GAMEMODE, usr.key)
|
||||
|
||||
Reference in New Issue
Block a user