-
-
Notifications
You must be signed in to change notification settings - Fork 669
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 backpacks positions on login #144
Conversation
Theres issue with this system (not pr) that containers are not getting opened after x-log/crash, when player is still in game so we only connect without loggin in again. I fixed that by function similar to one from iologindata, maybe it could be made cleaner. In player.h after:
add: In protocolgame.cpp into function In player.cpp add:
|
Thank you, tested with X-log out and crash, worked well, i'll update the pull request |
Kudos, SonarCloud Quality Gate passed! |
The backpacks in the inventory now maintain the exact position in the client on login. The containers will be opened when happens an x-log or crash.
Description
With this fix the backpacks in your inventory now maintain the the exact position in client on login
Thanks to Rick.
and now, with @gerotib help, the containers will be opened when happens an x-log or crash
opinions and code modernization are welcome and appreciate.
Type of change
Please delete options that are not relevant.
Checklist