]> git.smokeofanarchy.ru Git - space-station-14.git/commit
change the restart vote to have no effect with admins online (#22945)
authorLankLTE <135308300+LankLTE@users.noreply.github.com>
Mon, 25 Dec 2023 07:55:56 +0000 (23:55 -0800)
committerGitHub <noreply@github.com>
Mon, 25 Dec 2023 07:55:56 +0000 (23:55 -0800)
commit82ddf451e6d70710a93d40aa1f5bbb7138333fb3
treec90d910cf024787ea13096a6314292afefa4cf1c
parent4cd4805a0116bca830c9a7ed767eedf3d0c7970c
change the restart vote to have no effect with admins online (#22945)

* Change the vote and cvar

* Only denies successful votes

* Add comments because I'm a good coder, I swear

* I added a space to the first line of ccvars it's so over
Content.Server/Voting/Managers/VoteManager.DefaultVotes.cs
Content.Server/Voting/Managers/VoteManager.cs
Content.Shared/CCVar/CCVars.cs