Fix verb to adjust predator slots #6289
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
About the pull request
This PR fixes the adjust_predator_round admin verb that could never do anything because its max was always set to a value <= 0. Now it can adjust the pred_additional_max value if it doesn't result in a max lower than the current count. However, I expect the
pred_current_num
to be incorrect if there are say councilors playing since onlyWHITELIST_NORMAL
checks the limit, but onlyCLAN_RANK_ADMIN
(ancient) preventspred_current_num
incrementing... Let me know if & how you would want this corrected.Explain why it's good for the game
Admin verbs shouldn't just be dead code.
Testing Photographs and Procedure
Screenshots & Videos
Changelog
🆑 Drathek
admin: Fixed the adjust_predator_round verb
/:cl: