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

Simplify addDamagePoints code #4038

Merged
merged 1 commit into from
Mar 23, 2022
Merged

Simplify addDamagePoints code #4038

merged 1 commit into from
Mar 23, 2022

Conversation

nekiro
Copy link
Member

@nekiro nekiro commented Mar 23, 2022

Proposed code does the same thing, but in 3 lines of code instead of 10, indexing a map will instantiate new CountBlock which is then returned as reference

@nekiro nekiro changed the title Simplfy addDamagePoints code Simplify addDamagePoints code Mar 23, 2022
@ranisalt ranisalt merged commit 5b8d19e into master Mar 23, 2022
@ranisalt ranisalt deleted the nekiro-patch-2 branch March 23, 2022 17:47
EPuncker pushed a commit to EPuncker/forgottenserver that referenced this pull request May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants