From 6e75cc4d54010da7a30492389d2f86d0267ca68a Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Tue, 1 Mar 2016 11:01:46 -0500 Subject: [PATCH] fixed branch algorithm not resaving bounds --- chunkymap-regen.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/chunkymap-regen.py b/chunkymap-regen.py index aafb6aa..4237923 100644 --- a/chunkymap-regen.py +++ b/chunkymap-regen.py @@ -924,8 +924,20 @@ class MTChunks: x,z = this_pos chunk_luid = self.get_chunk_luid(x,z) is_present = self.check_chunk(x,z) + if is_present: self.total_generated_count += 1 + if xself.chunkx_max: + self.chunkx_max=x + if zself.chunkx_max: + self.chunkz_max=z + #end while square outline (1-chunk-thick outline) generated any png files + self.save_mapvars_if_changed() + self._check_map_pseudorecursion_branchfrom(x,z) self.todo_index += 1 if self.todo_index>=len(self.todo_positions): # check again since may have branched above, making this untrue