Skip to content

Fix: IgnoreSaveLoadComponent.base is not used when removing entities#44

Open
Saplonily wants to merge 1 commit intoDemoJameson:masterfrom
Saplonily:fix-ignoresavestate
Open

Fix: IgnoreSaveLoadComponent.base is not used when removing entities#44
Saplonily wants to merge 1 commit intoDemoJameson:masterfrom
Saplonily:fix-ignoresavestate

Conversation

@Saplonily
Copy link
Copy Markdown

IgnoredEntities.Add(component.Entity, ((IgnoreSaveLoadComponent)component).based);
level.RemoveImmediately(component.Entity);   // <--- based is not passed

This pr fixed it and also change the type of IgnoredEntities into List of tuples(seems there's no lookup action required).

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.

1 participant