Skip to content
Snippets Groups Projects
Commit a16bbf60 authored by Alán Muñoz's avatar Alán Muñoz
Browse files

feat(tiler): Support large images

parent 7cfd24c7
No related branches found
No related tags found
No related merge requests found
...@@ -135,7 +135,7 @@ class TrapLocations: ...@@ -135,7 +135,7 @@ class TrapLocations:
self.max_size = max_size self.max_size = max_size
self.initial_location = initial_location self.initial_location = initial_location
self.traps = [ self.traps = [
Trap(centre, self, tile_size, max_size) Trap(centre, self, tile_size or max_size, max_size)
for centre in initial_location for centre in initial_location
] ]
self.drifts = drifts self.drifts = drifts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment