Skip to content
Snippets Groups Projects
Commit f17de92e authored by alexdevteam's avatar alexdevteam
Browse files

Better error explanation

parent 1ae3ac7b
No related branches found
No related tags found
No related merge requests found
......@@ -99,7 +99,7 @@ impl Tileset {
None => match &image {
None => {
return Err(TiledError::MalformedAttributes(
"No <image> and no <columns> in <tileset>".to_string(),
"No <image> nor columns attribute in <tileset>".to_string(),
))
}
Some(image) => image.width as u32 / width,
......
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