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 incorrect reticule states regarding transporter (dis)embarking #3394

Merged
merged 2 commits into from
Sep 28, 2023

Conversation

KJeff01
Copy link
Member

@KJeff01 KJeff01 commented Sep 26, 2023

eventTransporterDisembarked / eventTransporterEmbarked will fire off letting the rules scripts know to update the reticules in case there are zero trucks/commander on map, or the player places the only truck/commander on map from a transporter.

Fixes #3315.

Need this for when a unit enters the transporter to update build/command reticules.
Need this for when the player removes a unit from a transporter for reticule updating.
@KJeff01 KJeff01 added this to the 4.4.0-beta1 milestone Sep 26, 2023
@KJeff01
Copy link
Member Author

KJeff01 commented Sep 28, 2023

Probably safe.

@KJeff01 KJeff01 merged commit 19b0a8c into Warzone2100:master Sep 28, 2023
@KJeff01 KJeff01 deleted the rulesFix branch September 28, 2023 23:54
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.

Rules.js [cam/mp]: Improve reticule behavior for transporters
1 participant