Minor bug fix.
This commit is contained in:
parent
6416df3e5f
commit
924d56c00e
|
@ -89,7 +89,7 @@ class Level3(level.Level):
|
||||||
def update_wells(block):
|
def update_wells(block):
|
||||||
cur_boxes = []
|
cur_boxes = []
|
||||||
for block in action_blocks:
|
for block in action_blocks:
|
||||||
box = pos_colour.get((block.x / 64 - task_start[0],
|
box = pos_colour.get((block.x / 64 - task_start[0] - 1,
|
||||||
block.y / 48 - task_start[1] - 1))
|
block.y / 48 - task_start[1] - 1))
|
||||||
if box:
|
if box:
|
||||||
cur_boxes.append(box)
|
cur_boxes.append(box)
|
||||||
|
|
Loading…
Reference in New Issue