Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Acquired Units can never be paid for #967
In Campaign:1997, the order of operations for the if statement results in acquiring a unit to always return false from "canPayFor". Acquiring for a part works correctly (because the && is attached to the second part of the ||.
Pulling the actual canPayFor check into a separate check from the "is the options set up so I have to worry about this" check makes it more readable. I will submit a pull request.