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

Issue 6359: LAMs now properly consider if they're in fighter mode or not when deploying. #6429

Merged
merged 2 commits into from
Jan 21, 2025

Conversation

psikomonkie
Copy link
Collaborator

Fixes #6359
Fixes #6423

LAMs and other Aero both implement IAero therefore we can't consider something an aircraft just based on it being an instance of IAero. Fortunately, there's already a method implemented isAero() that will check if a LAM is in Fighter mode before returning true.

Copy link

codecov bot commented Jan 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 28.53%. Comparing base (2d75a99) to head (e9f65b6).
Report is 13 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6429      +/-   ##
============================================
- Coverage     28.53%   28.53%   -0.01%     
+ Complexity    14091    14090       -1     
============================================
  Files          2792     2792              
  Lines        273739   273739              
  Branches      48494    48494              
============================================
- Hits          78107    78105       -2     
- Misses       191651   191654       +3     
+ Partials       3981     3980       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Scoppio Scoppio added the Bug label Jan 20, 2025
@Sleet01 Sleet01 merged commit 212efa8 into MegaMek:master Jan 21, 2025
6 checks passed
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.

[Issue] LAMs deploying as wheeled vehicles [50.0.2] LAM deployment / initial movement (Mech, AirMech, Aero)
4 participants