Fixed crash
This commit is contained in:
@@ -10,9 +10,9 @@ class SelectBox:
|
||||
|
||||
def draw(self):
|
||||
position = [
|
||||
self.parent.parent.map.position[0] * TILE_WIDTH - (TILE_WIDTH / 2.0),
|
||||
self.parent.parent.map.position[1] * TILE_HEIGHT - (TILE_HEIGHT / 2.0),
|
||||
self.parent.parent.map.position[2] * TILE_DEPTH - (TILE_DEPTH / 2.0)
|
||||
self.parent.map.position[0] * TILE_WIDTH - (TILE_WIDTH / 2.0),
|
||||
self.parent.map.position[1] * TILE_HEIGHT - (TILE_HEIGHT / 2.0),
|
||||
self.parent.map.position[2] * TILE_DEPTH - (TILE_DEPTH / 2.0)
|
||||
]
|
||||
|
||||
vertices = [
|
||||
|
||||
Reference in New Issue
Block a user