Fixed unlocked upgrades not saving upon purchase #2

Open
BanditHelps wants to merge 1 commit from 26.1/upgrades-lock-on-death into 26.1/dev
Owner

This change fixes a bug where if the player buys an upgrade and dies relatively quickly afterwards, the upgrade will become locked again as if they didn't purchase it in the first place.

All it needed was a small change to just update powerData before copying it to the new instance.

This change fixes a bug where if the player buys an upgrade and dies relatively quickly afterwards, the upgrade will become locked again as if they didn't purchase it in the first place. All it needed was a small change to just update `powerData` before copying it to the new instance.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 26.1/upgrades-lock-on-death:26.1/upgrades-lock-on-death
git switch 26.1/upgrades-lock-on-death

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 26.1/dev
git merge --no-ff 26.1/upgrades-lock-on-death
git switch 26.1/upgrades-lock-on-death
git rebase 26.1/dev
git switch 26.1/dev
git merge --ff-only 26.1/upgrades-lock-on-death
git switch 26.1/upgrades-lock-on-death
git rebase 26.1/dev
git switch 26.1/dev
git merge --no-ff 26.1/upgrades-lock-on-death
git switch 26.1/dev
git merge --squash 26.1/upgrades-lock-on-death
git switch 26.1/dev
git merge --ff-only 26.1/upgrades-lock-on-death
git switch 26.1/dev
git merge 26.1/upgrades-lock-on-death
git push origin 26.1/dev
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
BanditHelps/Palladium!2
No description provided.