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

Fix crashing when transports are loaded via lua and related regressions #21076

Merged
merged 5 commits into from Dec 3, 2023

Conversation

PunkPun
Copy link
Member

@PunkPun PunkPun commented Sep 27, 2023

Fixes #21078
Fixes #21119
Fixes #21156
Fixes #21229
Fixes #21213
Supersedes #21208

Regression from #20825

Crash:

Eluant.LuaException: LoadPassenger requires the passenger to be idle.

This PR entails that aircraft will no longer automatically take-off when placed on the map, restoring the legacy behaviour

An alternative solution would be to never call GetCreationActivity if actor is not to be added to world. Or perhaps instead pass that info down to the GetCreationActivity activity. It would make crashes possibly easier to debug.

@PunkPun PunkPun added this to the Next + 1 milestone Oct 9, 2023
@PunkPun PunkPun changed the title Fix crashing when transports are loaded via lua Fix crashing when transports are loaded via lua and related regressions Oct 21, 2023
@PunkPun

This comment was marked as resolved.

@pchote

This comment was marked as resolved.

@PunkPun

This comment was marked as resolved.

pchote
pchote previously approved these changes Oct 29, 2023
Copy link
Member

@pchote pchote left a comment

Choose a reason for hiding this comment

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

LGTM and didn't notice any other issues ingame in TD/RA/D2k.

@PunkPun
Copy link
Member Author

PunkPun commented Nov 4, 2023

Added a commit that reinforces carryalls on d2k shellmap instead of spawning them

abcdefg30

This comment was marked as resolved.

@abcdefg30

This comment was marked as resolved.

@PunkPun

This comment was marked as resolved.

penev92
penev92 previously approved these changes Nov 14, 2023
pchote
pchote previously approved these changes Dec 3, 2023
@pchote
Copy link
Member

pchote commented Dec 3, 2023

Needs a rebase, then go ahead and merge.

@PunkPun
Copy link
Member Author

PunkPun commented Dec 3, 2023

Rebased

@pchote pchote merged commit ac69344 into OpenRA:bleed Dec 3, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment