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

Round longest player shot stat not ceil #897

Merged
merged 1 commit into from
Jul 17, 2021

Conversation

Pugzy
Copy link
Contributor

@Pugzy Pugzy commented Jul 4, 2021

Fixes off by one discrepancy found in #892.

The death message builder is using Math.round whereas the PlayerStats class uses Math.ceil so numbers lower than .5 would be rounded down in one output but up in the other. This makes it consistent fixing this issue.

Signed-off-by: Pugzy [email protected]

@Pugzy Pugzy requested a review from Electroid as a code owner July 4, 2021 13:03
@Pablete1234 Pablete1234 added the bug Something isn't working label Jul 15, 2021
@Electroid Electroid merged commit 705ffca into PGMDev:dev Jul 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

3 participants