Skip to content

Commit

Permalink
Comment out code that needs to be fixed after xmas
Browse files Browse the repository at this point in the history
  • Loading branch information
xxalpha committed Dec 25, 2016
1 parent aca5dd8 commit 832a7c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/mapmerge/map_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ def merge_map(newfile, backupfile, tgm):
old_dict[fresh_key] = new_tile
merged_grid[x,y] = fresh_key

#step two: clean the dictionary if it has too many unused keys
if len(unused_keys) > min(100, (len(old_dict) * 0.5)):
print("NOTICE: Trimming the dictionary.")
old_dict = trim_dictionary(old_dict)
## #step two: clean the dictionary if it has too many unused keys
## if len(unused_keys) > min(100, (len(old_dict) * 0.5)):
## print("NOTICE: Trimming the dictionary.")
## old_dict = trim_dictionary(old_dict)

#step three: write the map to file
if tgm:
Expand Down

0 comments on commit 832a7c2

Please sign in to comment.