Skip to content

Commit

Permalink
Fixed failing game
Browse files Browse the repository at this point in the history
  • Loading branch information
CryDeb authored Nov 23, 2018
1 parent 2f9638e commit 1eaa506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DTOs.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __init__(self, gameState=None, jsonString=None):
self._create_self_from_json(jsonString)
else:
layout = gameState.data.layout
food = gameState.food
food = gameState.data.food
height, width = layout.height, layout.width
self.gameField = [[PublicFields.EMPTY for x in range(width)] for y in range(height)]
for x in range(height):
Expand Down

0 comments on commit 1eaa506

Please sign in to comment.