]> git.smokeofanarchy.ru Git - space-station-14.git/commit
fix antag selection being evil (#28197)
authordeltanedas <39013340+deltanedas@users.noreply.github.com>
Sun, 26 May 2024 05:14:29 +0000 (05:14 +0000)
committerGitHub <noreply@github.com>
Sun, 26 May 2024 05:14:29 +0000 (01:14 -0400)
commit492ccc93d01647b586755da27f88f4cbb62e7ccc
tree30018a1e2508cdffdb5f58618a2566a22da4beb6
parentaf10de61d313ae539ce24933b2986ee63a8f6a07
fix antag selection being evil (#28197)

* fix antag selection being evil

* fix test

* untroll the other tests

* remove role timer troll

* Allow tests to modify antag preferences

* Fix antag selection

* Misc test fixes

* Add AntagPreferenceTest

* Fix lazy mistakes

* Test cleanup

* Try stop players in lobbies from being assigned mid-round antags

* ranting

* I am going insane

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com>
13 files changed:
Content.IntegrationTests/Pair/TestPair.Helpers.cs
Content.IntegrationTests/PoolManager.cs
Content.IntegrationTests/Tests/GameRules/AntagPreferenceTest.cs [new file with mode: 0644]
Content.IntegrationTests/Tests/GameRules/NukeOpsTest.cs
Content.IntegrationTests/Tests/Interaction/Click/InteractionSystemTests.cs
Content.IntegrationTests/Tests/ResettingEntitySystemTests.cs
Content.Server/Antag/AntagSelectionSystem.API.cs
Content.Server/Antag/AntagSelectionSystem.cs
Content.Server/GameTicking/GameTicker.RoundFlow.cs
Content.Server/Preferences/Managers/IServerPreferencesManager.cs
Content.Server/Preferences/Managers/ServerPreferencesManager.cs
Content.Shared/Antag/AntagAcceptability.cs
Content.Shared/Roles/Jobs/SharedJobSystem.cs