diff --git a/src/network/NetworkedMapAndTokens.js b/src/network/NetworkedMapAndTokens.js index f3c064e..9531ab6 100644 --- a/src/network/NetworkedMapAndTokens.js +++ b/src/network/NetworkedMapAndTokens.js @@ -316,10 +316,12 @@ function NetworkedMapAndTokens({ session }) { replyWithFile("ultra"); break; case "original": - if (map.resolutions.medium) { - replyWithPreview("medium"); - } else if (map.resolutions.low) { - replyWithPreview("low"); + if (map.resolutions) { + if (map.resolutions.medium) { + replyWithPreview("medium"); + } else if (map.resolutions.low) { + replyWithPreview("low"); + } } replyWithFile(); break;