From 924d56c00e3036634eab8065b68ee9ff0cadce01 Mon Sep 17 00:00:00 2001 From: Niels Serup Date: Fri, 10 Aug 2012 13:51:22 +0200 Subject: [PATCH] Minor bug fix. --- robotgame/level3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robotgame/level3.py b/robotgame/level3.py index 49024b2..c7e8968 100644 --- a/robotgame/level3.py +++ b/robotgame/level3.py @@ -89,7 +89,7 @@ class Level3(level.Level): def update_wells(block): cur_boxes = [] 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)) if box: cur_boxes.append(box)