From f902c1cd63236a626c6dcef25b46a17414b3e4d6 Mon Sep 17 00:00:00 2001 From: Pedro Henrique Alves Cruz Date: Sun, 28 Jul 2024 05:21:11 -0300 Subject: [PATCH] feat: enable canary map editor assets otbm version --- src/io/iomap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/iomap.cpp b/src/io/iomap.cpp index c17978e8d1d..510bfef9859 100644 --- a/src/io/iomap.cpp +++ b/src/io/iomap.cpp @@ -58,7 +58,7 @@ void IOMap::loadMap(Map* map, const Position &pos) { uint32_t majorVersionItems = stream.getU32(); stream.getU32(); // minorVersionItems - if (version > 2) { + if (version > 5) { throw IOMapException("Unknown OTBM version detected."); }