M.load now auto-upgrades v1 maps to v2 shape (no m.tilemap field), but load_textures still dereferenced m.tilemap unconditionally and crashed on every v2 consumer. Extract per-tilemap loop into a helper and dispatch by schema_version. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
26 KiB
26 KiB