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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make singleplayer player swap characters if their character is removed #15265

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TheNinjaScout
Copy link

@TheNinjaScout TheNinjaScout commented Nov 27, 2024

Fixes #15264

AddEntityToRemoveQueue now automatically calls "SelectNextCharacter" if the entity being removed is the player's currently controlled crew member in singleplayer as to not put them in spectator mode

Moved "AddEntityToRemoveQueue" call on husk infection's "CreateAIHusk" function to the end of the function to not interfere with "controlhusk"'s functionality in singleplayer

Demonstration: https://youtu.be/x2r389_srfc

AddEntityToRemoveQueue now automatically calls "SelectNextCharacter" if the entity being removed is the player's currently controlled crew member in singleplayer as to not put them in spectator mode

Moved "AddEntityToRemoveQueue" call on husk infection's "CreateAIHusk" function to the end of the function to not interfere with "controlhusk"'s functionality in singleplayer
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.

1 participant