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 for Loading Save Bug #255 #272

Merged
merged 4 commits into from
May 9, 2024
Merged

Fix for Loading Save Bug #255 #272

merged 4 commits into from
May 9, 2024

Conversation

PinkPenguin418
Copy link
Contributor

Problem

After loading, changes to the VM would be automatically added to the manual save file.

Solution

Added a deepcopy instead of a straight reference to the VM loadSaveData function.

Other changes (e.g. bug fixes, UI tweaks, small refactors)

Note, you might want to double check other stores for the same problem.

Breaking Changes

Do any of the changes cause breaking changes for users? For example: Changes in the config, in scripting syntax...:

Copy link

stackblitz bot commented May 4, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

vercel bot commented May 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
narrat-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 4, 2024 0:05am
narrat-editor-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 4, 2024 0:05am

Copy link
Owner

@liana-p liana-p left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yeah good find, I was doing deep copy when generating the save but maybe not on load, which would sort of have the same issue

@liana-p liana-p merged commit d2cf05f into liana-p:main May 9, 2024
3 checks passed
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.

None yet

2 participants