Skip to content

Corrected randomDeathMultiplier to use Double#5990

Merged
HammerGS merged 2 commits into
MegaMek:masterfrom
IllianiBird:intToDouble
Feb 6, 2025
Merged

Corrected randomDeathMultiplier to use Double#5990
HammerGS merged 2 commits into
MegaMek:masterfrom
IllianiBird:intToDouble

Conversation

@IllianiBird

Copy link
Copy Markdown
Collaborator

Corrected randomDeathMultiplier to use Double

@IllianiBird IllianiBird added the Bug label Feb 6, 2025
@IllianiBird IllianiBird self-assigned this Feb 6, 2025
Corrected RandomDeathMultiplier to use double instead of int. This ensures consistency with the spinner value type and prevents potential data loss or runtime errors.
@codecov-commenter

codecov-commenter commented Feb 6, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.29%. Comparing base (bffc2b3) to head (9951f82).
Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #5990   +/-   ##
=========================================
  Coverage     10.29%   10.29%           
- Complexity     6108     6110    +2     
=========================================
  Files          1038     1038           
  Lines        139302   139302           
  Branches      20664    20664           
=========================================
+ Hits          14337    14339    +2     
  Misses       123533   123533           
+ Partials       1432     1430    -2     

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

@HammerGS HammerGS merged commit bc84f18 into MegaMek:master Feb 6, 2025
@IllianiBird IllianiBird deleted the intToDouble branch March 23, 2025 22:14
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.

3 participants