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

Fix persistent cooldown issues #1472

Merged
merged 2 commits into from
Jan 3, 2025
Merged

Fix persistent cooldown issues #1472

merged 2 commits into from
Jan 3, 2025

Conversation

Pablete1234
Copy link
Member

Fixes a couple issues with cooldowns:

  • They were being read incorrectly from the database, leading to cooldowns of 4000+ years
  • The cooldown was reversed, so it would've stopped being on cooldown N time after, instead of N time before

Additionally improved the /pool command to show the map cooldowns, and added option to query for map names, and exposed a function to get the cooldown as a time period instead of a boolean

Signed-off-by: Pablo Herrera <[email protected]>
@Pablete1234 Pablete1234 merged commit 4a2db8a into dev Jan 3, 2025
2 checks passed
@Pablete1234 Pablete1234 deleted the fix-persist-cd branch January 3, 2025 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants