summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chickadee/graphics/tiled.scm7
1 files changed, 2 insertions, 5 deletions
diff --git a/chickadee/graphics/tiled.scm b/chickadee/graphics/tiled.scm
index 4f79a63..8da86b5 100644
--- a/chickadee/graphics/tiled.scm
+++ b/chickadee/graphics/tiled.scm
@@ -1,5 +1,5 @@
;;; Chickadee Game Toolkit
-;;; Copyright © 2018 David Thompson <davet@gnu.org>
+;;; Copyright © 2018, 2020 David Thompson <davet@gnu.org>
;;;
;;; Chickadee is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published
@@ -388,10 +388,7 @@
(%make-object-layer name objects properties)))
(let* ((tree (call-with-input-file file-name xml->sxml))
(m ((sxpath '(map)) tree))
- (version (let ((version (attr m 'version)))
- (unless (any (lambda (v) (string=? version v)) '("1.0" "1.1" "1.2"))
- (error "unsupported tiled map format version" version))
- version))
+ (version (attr m 'version))
(orientation (attr m 'orientation string->symbol))
(width (attr m 'width string->number))
(height (attr m 'height string->number))