-
Notifications
You must be signed in to change notification settings - Fork 523
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix verb to adjust predator slots (#6289)
# 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 only `WHITELIST_NORMAL` checks the limit, but only `CLAN_RANK_ADMIN` (ancient) prevents `pred_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 <details> <summary>Screenshots & Videos</summary> ![image](https://github.com/cmss13-devs/cmss13/assets/76988376/35cb8694-9352-4852-a700-da7c68c10d75) </details> # Changelog :cl: Drathek admin: Fixed the adjust_predator_round verb /:cl:
- Loading branch information
Showing
2 changed files
with
52 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters