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

Small clean up to sortUnitsForCasualtiesWithSupport(). #12698

Merged
merged 1 commit into from
Jul 6, 2024

Commits on Jul 6, 2024

  1. Small clean up to sortUnitsForCasualtiesWithSupport().

    Since we'll need to debug this code for triplea-game#12689, this is a prelim cleanup to make the code easier to understand.
    
    It splits out the core logic into an impl function, with the caching logic being a wrapper around it. Also improves some comments and uses some local variables to reduce wrapping.
    asvitkine committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    d57e228 View commit details
    Browse the repository at this point in the history