Skip to content
Snippets Groups Projects
Commit 43be9757 authored by Fabian Heinrich's avatar Fabian Heinrich
Browse files

Fixed kitchen borders when grid starts at 1

parent 06d3f4fb
No related branches found
No related tags found
1 merge request!38Resolve "Finalize coordinate system"
Pipeline #45039 failed
......@@ -320,8 +320,8 @@ class Environment:
current_x += 1
current_y += 1
self.kitchen_width: float = len(lines[0])
self.kitchen_height = len(lines)
self.kitchen_width: float = len(lines[0]) + starting_at
self.kitchen_height = len(lines) + starting_at
self.counter_factory.post_counter_setup(counters)
return counters, designated_player_positions, free_positions
......
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