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

Delete current artifact ids before loading new ones to prevent repeated saving. #4281

Merged
merged 4 commits into from Nov 14, 2013

Conversation

Projects
None yet
3 participants
@freezerbunny
Copy link
Contributor

commented Nov 11, 2013

Fixes #4280

@freezerbunny

This comment has been minimized.

Copy link
Contributor Author

commented Nov 11, 2013

Apparently this doesn't fix the issue.

@freezerbunny

This comment has been minimized.

Copy link
Contributor Author

commented Nov 12, 2013

That's it fixed.

@yobbobanana

This comment has been minimized.

Copy link
Contributor

commented Nov 13, 2013

Artifacts were basically working on the assumption that all characters were in the same world and had the same artifacts. So yep, clearing on load seems sensible.

Leaks the artifact itype, but ehh who cares.

@freezerbunny

This comment has been minimized.

Copy link
Contributor Author

commented Nov 14, 2013

It shouldn't leak the artifact itype, because we're overwriting the ids anyway, so it'll just overwrite those itypes.

@yobbobanana

This comment has been minimized.

Copy link
Contributor

commented Nov 14, 2013

it makes itypes with "new" and never uses "delete"

@GalenEvil GalenEvil merged commit 23b92fd into CleverRaven:master Nov 14, 2013

1 check passed

default Merged build finished.
Details

@freezerbunny freezerbunny deleted the freezerbunny:artifactsave-fix branch Dec 2, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.