Skip to content

Fix EjectOnDeath checks#20515

Merged
Mailaender merged 4 commits into
OpenRA:bleedfrom
PunkPun:fix-eject
Sep 23, 2023
Merged

Fix EjectOnDeath checks#20515
Mailaender merged 4 commits into
OpenRA:bleedfrom
PunkPun:fix-eject

Conversation

@PunkPun

@PunkPun PunkPun commented Dec 5, 2022

Copy link
Copy Markdown
Member

Without this PR EjectOnDeath flag is almost unusable. Both because of ejected troops overlapping, troops being killed when they shouldn't or because of the desyncs

Fixes #16353
Fixes #17863 by removing CanUnload and thus CurrentAdjacentCells check from INotifyKilled.Killed

@PunkPun PunkPun changed the title Fix EjectOnDeath checks by moving them to FrameEndTask Fix EjectOnDeath checks Dec 5, 2022

@phrohdoh phrohdoh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Inline question regarding ground-level check & aircraft.

I cannot figure out how to create only the inline comment via the GH Mobile app, seems I have to create a "review."

Comment thread OpenRA.Mods.Common/Traits/Cargo.cs
@PunkPun PunkPun force-pushed the fix-eject branch 2 times, most recently from d7628a7 to 44e5771 Compare August 7, 2023 20:06
@PunkPun PunkPun force-pushed the fix-eject branch 3 times, most recently from ce82d0f to b2c905d Compare August 19, 2023 20:31
Comment thread OpenRA.Mods.Common/Traits/Cargo.cs
@Mailaender

Copy link
Copy Markdown
Member

Removed test cases ec48a6c.

@Mailaender Mailaender merged commit 90aeb38 into OpenRA:bleed Sep 23, 2023
@Mailaender

Copy link
Copy Markdown
Member

Changelog

@PunkPun PunkPun deleted the fix-eject branch September 23, 2023 12:15
@abcdefg30

Copy link
Copy Markdown
Member

This was reverted in #21507

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cargo.EjectOnDeath subcell checks are completely broken Cargo>EjectOnDeath can cause desyncs

5 participants