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 respawn taking twice as long as expected #3886

Merged
merged 1 commit into from
Jan 6, 2022

Conversation

marmichalski
Copy link
Contributor

Pull Request Prelude

Spawn::checkSpawn calls Spawn::cleanup before performing checks, Spawn::cleanup checks if the monster is marked as removed, if it is we have to free it, which is okay, but I do not see any reason for updating it's last spawn time there.

Changes Proposed

Remove redundant spawn time update.

Issues addressed: Closes #3885

@EPuncker EPuncker merged commit 797ebb1 into otland:master Jan 6, 2022
@marmichalski marmichalski deleted the respawn-delay branch January 6, 2022 22:53
Znote pushed a commit to Znote/forgottenserver that referenced this pull request Jan 30, 2022
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.

Monster spawn time is incorrect (like double?)
3 participants