]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Restart votes check player count and ghost levels (#23453)
authorRepo <47093363+Titian3@users.noreply.github.com>
Fri, 19 Jan 2024 07:10:05 +0000 (20:10 +1300)
committerGitHub <noreply@github.com>
Fri, 19 Jan 2024 07:10:05 +0000 (18:10 +1100)
commit7bf62f1d1904b591580b17b2b5079f0dfe769e4b
tree935d156b0dcda7cd9960a4db1349397aa31dfd3e
parentc35b9964c770714f5ba56fce827912cd33312fe6
Restart votes check player count and ghost levels (#23453)

* Restarts have max player count

* Now counts ingame ghosts to determine if restart can be called

* consistant cvar name

* Added a player count with state conditional
Content.Server/Voting/Managers/VoteManager.DefaultVotes.cs
Content.Shared/CCVar/CCVars.cs
Resources/Locale/en-US/voting/managers/vote-manager.ftl