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

Rework Petros death handling #2725

Merged

Conversation

jaj22
Copy link

@jaj22 jaj22 commented Apr 8, 2023

What type of PR is this.

  1. Bug
  2. Change
  3. Enhancement

What have you changed and why?

Petros post-death placement handling wasn't reliable. If a player managed to exit the placement interface (eg. by dying or disconnecting) then no-one would have access to the placement control.

With this PR, a petros death instead triggers a monitor loop that triggers the placement UI on suitable commanders. It survives both commander deaths and disconnections, and any other map close actions.

Please specify which Issue this PR Resolves.

closes #2701

Please verify the following and ensure all checks are completed.

  1. Have you loaded the mission in LAN host?
  2. Have you loaded the mission on a dedicated server?

Is further testing or are further changes required?

  1. No
  2. Yes (Please provide further detail below.)
  • Consider disabling the debug petros respawn. That might cause more issues than it fixes now.

@jaj22 jaj22 added the Bug-fix label Apr 8, 2023
@Bob-Murphy Bob-Murphy added this to the 3.2 milestone Apr 8, 2023
Copy link

@MeltedPixel MeltedPixel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No errors on dedicated server, tested killing petros while being moved. Functions okay.

@Bob-Murphy Bob-Murphy merged commit d803715 into official-antistasi-community:unstable Apr 11, 2023
@Bob-Murphy Bob-Murphy added the Added to changelog Added to changelog label May 8, 2023
igorkis-scrts pushed a commit to igorkis-scrts/A3-Antistasi-Plus that referenced this pull request Aug 8, 2023
…k-petros-death

Rework Petros death handling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants