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

Focus mode is wrong when loading game in fight mode #193

Closed
szapp opened this issue Oct 16, 2018 · 1 comment
Closed

Focus mode is wrong when loading game in fight mode #193

szapp opened this issue Oct 16, 2018 · 1 comment

Comments

@szapp
Copy link
Owner

szapp commented Oct 16, 2018

When loading a game where the player is in a fight mode (melee, ranged or spell combat), the focus mode also captures mobs and items. This is caused by the focus mode initialization.

@szapp
Copy link
Owner Author

szapp commented Oct 16, 2018

Fixing this bug revealed a memory leak. The focus modes were created on every initialization. Instead they should only be updated (if they were already created before).

@szapp szapp closed this as completed in 39e3d26 Dec 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant