Added check for resolutions in map send
This commit is contained in:
parent
d7b866d98d
commit
04dceef022
@ -316,10 +316,12 @@ function NetworkedMapAndTokens({ session }) {
|
|||||||
replyWithFile("ultra");
|
replyWithFile("ultra");
|
||||||
break;
|
break;
|
||||||
case "original":
|
case "original":
|
||||||
if (map.resolutions.medium) {
|
if (map.resolutions) {
|
||||||
replyWithPreview("medium");
|
if (map.resolutions.medium) {
|
||||||
} else if (map.resolutions.low) {
|
replyWithPreview("medium");
|
||||||
replyWithPreview("low");
|
} else if (map.resolutions.low) {
|
||||||
|
replyWithPreview("low");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
replyWithFile();
|
replyWithFile();
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user