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

Fixed New Day Reporting #5077

Merged
merged 2 commits into from
Oct 21, 2024
Merged

Conversation

IllianiCBT
Copy link
Collaborator

Corrected whitespace and formatting inconsistencies within various methods in the Campaign class. Added triggering of NewDayEvent at the start of each new day cycle, instead of the end.

Also fixed a couple of minor issues in campaign.java that weren't worth their own PR.

Closes #4998

Corrected whitespace and formatting inconsistencies within various methods in the `Campaign` class. Added triggering of `NewDayEvent` at the start of each new day cycle, instead of the end.
The gender parameter was passed incorrectly, causing issues with randomization. Changed the Gender.RANDOMIZE to use the variable 'gender' for proper assignment.
@IllianiCBT IllianiCBT added the Bug label Oct 19, 2024
@IllianiCBT IllianiCBT self-assigned this Oct 19, 2024
@IllianiCBT
Copy link
Collaborator Author

I'm tentatively hoping this will also fix the 'double-nag' bug. But only time will tell.

@codecov-commenter
Copy link

codecov-commenter commented Oct 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.43%. Comparing base (a339462) to head (c91137e).
Report is 120 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5077      +/-   ##
============================================
+ Coverage     10.42%   10.43%   +0.01%     
- Complexity     6028     6039      +11     
============================================
  Files           953      953              
  Lines        134113   134123      +10     
  Branches      19435    19438       +3     
============================================
+ Hits          13979    13996      +17     
+ Misses       118785   118783       -2     
+ Partials       1349     1344       -5     

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

@HammerGS HammerGS merged commit 84d7c7a into MegaMek:master Oct 21, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants