]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Add active and ended game rule components, generic TryRoundStartAttempt and minPlayer...
authorDrSmugleaf <DrSmugleaf@users.noreply.github.com>
Thu, 28 Sep 2023 14:48:59 +0000 (07:48 -0700)
committerGitHub <noreply@github.com>
Thu, 28 Sep 2023 14:48:59 +0000 (10:48 -0400)
commit2f4b2cc887429d37c061d41f22128c759a24106a
treeaef56a6e766130987384e6ad9a9ce3cb1495c981
parent78091fb11de17cb489dc9770ab6e7beed21f00a4
Add active and ended game rule components, generic TryRoundStartAttempt and minPlayers field (#20564)

* Improve active game rule querying, add generic try round start attempt method, move minPlayers to GameRuleComponent

* Nukeops todo and cleanup

* Remove Active field

* Add EndedGameRuleComponent
Content.Server/GameTicking/GameTicker.GameRule.cs
Content.Server/GameTicking/Rules/Components/ActiveGameRuleComponent.cs [new file with mode: 0644]
Content.Server/GameTicking/Rules/Components/EndedGameRuleComponent.cs [new file with mode: 0644]
Content.Server/GameTicking/Rules/Components/GameRuleComponent.cs
Content.Server/GameTicking/Rules/Components/NukeopsRuleComponent.cs
Content.Server/GameTicking/Rules/GameRuleSystem.cs
Content.Server/GameTicking/Rules/NukeopsRuleSystem.cs