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)