Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Implement 999 per-actor production queue limit. #15006
This PR implements
A per-item limit of 999 is defined to fix a game-breaking MP exploit while remaining large enough that nobody can reasonably complain. This also fixes the "Training" production notification when trying to queue units that have already reached their build limit.
Testcase: Try to queue more than 999 of some actor type (or reduce the number, and try to build more than that).
This was intentional, based on the precedent of it disabling build limits and production type / exit restrictions in addition to the prerequisites. If there is enough objection then I have no real issue with changing it.