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 Position of NewDayEvent Trigger in processNewDay #5125

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

IllianiCBT
Copy link
Collaborator

Moved MekHQ.triggerEvent(new NewDayEvent(this)) to the end of processNewDay method. This refactor ensures the event trigger occurs after all day-start logic has been processed.

Closes #5119 && #5108 && #4297 (for real this time)

Moved `MekHQ.triggerEvent(new NewDayEvent(this))` to the end of `processNewDay` method. This refactor ensures the event trigger occurs after all day-start logic has been processed.
@IllianiCBT IllianiCBT added the Bug label Oct 23, 2024
@IllianiCBT IllianiCBT self-assigned this Oct 23, 2024
@codecov-commenter
Copy link

codecov-commenter commented Oct 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.53%. Comparing base (3352c18) to head (f892b9f).
Report is 35 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5125      +/-   ##
============================================
- Coverage     10.54%   10.53%   -0.01%     
- Complexity     6040     6042       +2     
============================================
  Files           956      956              
  Lines        134181   134213      +32     
  Branches      19481    19489       +8     
============================================
+ Hits          14144    14145       +1     
- Misses       118693   118719      +26     
- Partials       1344     1349       +5     

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

@HammerGS HammerGS merged commit 32077b6 into MegaMek:master Oct 25, 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
Development

Successfully merging this pull request may close these issues.

StratCon Scenarios Spawning without Track Position
3 participants