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

serialize and deserialize recycled entity ids to/from json #59

Merged
merged 3 commits into from
Mar 14, 2024

Conversation

richdog
Copy link
Contributor

@richdog richdog commented Dec 18, 2023

This fixes a bug in which loading a world that previously had recycled entities, new entities created after loading could be created that reuse existing entity ids, causing havoc.

This should be done for binary as well.

this fixes a bug in which loading a world that previously had recycled entities, new entities created after loading could be created that reuse existing entity ids, causing havoc.
@genaray
Copy link
Owner

genaray commented Dec 18, 2023

Could you probably add support for binary aswell? ^^

@richdog
Copy link
Contributor Author

richdog commented Dec 19, 2023

Could you probably add support for binary aswell? ^^

Of course! I didn't want to do it until this was reviewed though in case there was a better solution I hadn't considered for recycled entity ids.

@genaray
Copy link
Owner

genaray commented Jan 2, 2024

Can this be merged? I guess so right?

@richdog
Copy link
Contributor Author

richdog commented Jan 2, 2024

Can this be merged? I guess so right?

Yeah it should be fine, the checks are failing because the version of Arch it's pointed at is wrong, but otherwise it works.

@genaray genaray merged commit 1ef44e6 into genaray:master Mar 14, 2024
0 of 2 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.

2 participants