Skip to content

Commit 995a6e2

Browse files
committed
Make mypy happy
1 parent 3c94bc7 commit 995a6e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytiled_parser/parsers/tmx/tiled_map.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ def parse(file: Path) -> TiledMap:
145145
if raw_map.attrib.get("class") is not None:
146146
map_.class_ = raw_map.attrib["class"]
147147

148-
_parallax_origin_x = 0
149-
_parallax_origin_y = 0
148+
_parallax_origin_x = 0.0
149+
_parallax_origin_y = 0.0
150150

151151
if raw_map.attrib.get("parallaxoriginx") is not None:
152152
_parallax_origin_x = float(raw_map.attrib["parallaxoriginx"])

0 commit comments

Comments
 (0)