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

Duplicate objects since chapter 3.14 #63

Closed
FlorentKl opened this issue Jan 8, 2020 · 1 comment
Closed

Duplicate objects since chapter 3.14 #63

FlorentKl opened this issue Jan 8, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@FlorentKl
Copy link

Hello,
I have seen since chapter 3.14 to at least the chapter 4.3 that all objects and monsters are duplicated upon spawn.
Trying to narrow down the problem, i found it coming from the function "apply_previous_iteration" in "src\map_builders\prefab_builder\mod.rs" : the part if filter(x, y, e) { build_data.spawn_list.push( (idx, e.1.to_string()) ) } totally duplicate the spawn list.

When using !filter, it seems back to normal, exept if there is a sectionnal fort where items are in two copies, but i don't have a good enough grasp on the filter function to know what to do or if what i have done is the right solution.

@thebracket
Copy link
Collaborator

Whoops! Thanks for reporting that. I haven't seen it on my local build, but so I probably fixed it by mistake somewhere further down the line. I'll take a look.

@thebracket thebracket self-assigned this Jan 14, 2020
@thebracket thebracket added the bug Something isn't working label Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants