Skip to content

Commit 1f84a2a

Browse files
committed
Fixed issue in library dot.py
1 parent 034feec commit 1f84a2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2021/dot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def manhattan_distance(self, reference=0):
169169
return abs(self.position.imag - ref.imag) + abs(self.position.real - ref.real)
170170

171171
def set_terrain(self, terrain):
172-
self.terrain = terrain or self.default_terrain
172+
self.terrain = terrain or self.terrain_default
173173
self.is_walkable, self.is_waypoint = self.terrain_map.get(
174174
terrain, self.terrain_map[self.terrain_default]
175175
)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy