otland / forgottenserver

A free and open-source MMORPG server emulator written in C++
https://otland.net
GNU General Public License v2.0
1.6k stars 1.06k forks source link

fix: update client on advance #4604

Closed omarcopires closed 10 months ago

omarcopires commented 10 months ago

Pull Request Prelude

Changes Proposed

Now, the screenshot (takeScreenshot) is only triggered if the new level is greater than the old level.

Issues addressed: The client takes a screenshot even when the player loses level.