Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add antagonist vote fix #34636

Merged
merged 1 commit into from
Jun 10, 2024
Merged

Add antagonist vote fix #34636

merged 1 commit into from
Jun 10, 2024

Conversation

Builder-13
Copy link

@Builder-13 Builder-13 commented Jun 1, 2024

Currently, no matter the vote result, Add antagonist vote can never really add any antags. This is an attempt to restore the intended functionality.

Additionaly, changes were made to antag spawn and antag check: Ckey is transferred, even if the player ghosted from their body and ghosts are no longer getting checked for the job or for the NO_ANTAG flag of their previous body. (Otherwise, it could spawn an empty body, if ckey isn't transferred correctly to the off-ship roles. Or totally prevent someone from spawning as an off-ship role, because of their last body with a specific job role, or if their body had NO_ANTAG flag (ex:mouses), even if they are already ghosts)

Changelog
馃啈 Builder13
bugfix: Add Antagonist vote can now add antags.
/:cl:

code/datums/vote/add_antag.dm Outdated Show resolved Hide resolved
code/game/antagonist/antagonist_create.dm Show resolved Hide resolved
Co-authored-by: Sierra "SierraKomodo" Brown <sierrakomodo@hey.com>
@SierraKomodo SierraKomodo merged commit a7aace8 into Baystation12:dev Jun 10, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants