summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chickadee/render/tiled.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chickadee/render/tiled.scm b/chickadee/render/tiled.scm
index 51f2cb9..8e8b8f4 100644
--- a/chickadee/render/tiled.scm
+++ b/chickadee/render/tiled.scm
@@ -370,7 +370,7 @@
(let* ((tree (call-with-input-file file-name xml->sxml))
(m ((sxpath '(map)) tree))
(version (let ((version (attr m 'version)))
- (unless (string=? version "1.0")
+ (unless (any (lambda (v) (string=? version v)) '("1.0" "1.1" "1.2"))
(error "unsupported tiled map format version" version))
version))
(orientation (attr m 'orientation string->symbol))