should be raising this exception
This commit is contained in:
2
world.py
2
world.py
@@ -309,7 +309,7 @@ def generate_quadtree(chunkmap, colstart, colend, rowstart, rowend, prefix, quad
|
|||||||
# base case: just render the image
|
# base case: just render the image
|
||||||
img = render_worldtile(chunkmap, colstart, colend, rowstart, rowend)
|
img = render_worldtile(chunkmap, colstart, colend, rowstart, rowend)
|
||||||
elif cols < 3 or rows < 5:
|
elif cols < 3 or rows < 5:
|
||||||
Exception("Something went wrong, this tile is too small. (Please send "
|
raise Exception("Something went wrong, this tile is too small. (Please send "
|
||||||
"me the traceback so I can fix this)")
|
"me the traceback so I can fix this)")
|
||||||
else:
|
else:
|
||||||
# Recursively generate each quadrent for this tile
|
# Recursively generate each quadrent for this tile
|
||||||
|
|||||||
Reference in New Issue
Block a user