Skip to content
Snippets Groups Projects
Commit 59e847b8 authored by Tessaris Sergio's avatar Tessaris Sergio
Browse files

fix: JSON parsing error

parent 4df4a409
No related branches found
No related tags found
No related merge requests found
...@@ -272,7 +272,7 @@ class WumpusWorld(GridWorld): ...@@ -272,7 +272,7 @@ class WumpusWorld(GridWorld):
else: else:
return [getCoord(data)] return [getCoord(data)]
size = next(coordLst('size')) size = getCoord(desc.get('size', [8, 8]))
blocks = coordLst('blocks') blocks = coordLst('blocks')
hunters = desc.get('hunters', []) hunters = desc.get('hunters', [])
pits = coordLst('pits') pits = coordLst('pits')
......
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