From 0b87bb26c67abad25a8d67a0de2935f1f7919e1b Mon Sep 17 00:00:00 2001 From: Benjamin Kirkbride Date: Sun, 19 Apr 2020 19:33:13 -0400 Subject: [PATCH] doc: clarify question --- pytiled_parser/xml_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytiled_parser/xml_parser.py b/pytiled_parser/xml_parser.py index fcd15ef..a69d516 100644 --- a/pytiled_parser/xml_parser.py +++ b/pytiled_parser/xml_parser.py @@ -190,7 +190,7 @@ def _parse_layer( offset_x_attrib = layer_element.attrib.get("offsetx") offset_y_attrib = layer_element.attrib.get("offsety") # If any offset is present, we need to return an OrderedPair - # Unknown if one of the offsets could be absent. + # Unknown if only one of the offsets could be absent. if any([offset_x_attrib, offset_y_attrib]): if offset_x_attrib: offset_x = float(offset_x_attrib)