Fix bug with map quality levels not loading on peers
This commit is contained in:
parent
08214cd05c
commit
5ba4817398
@ -32,7 +32,11 @@ function MapInteraction({
|
||||
}) {
|
||||
let mapSourceMap = map;
|
||||
if (map && map.type === "file") {
|
||||
if (map.resolutions && map.quality !== "original") {
|
||||
if (
|
||||
map.resolutions &&
|
||||
map.quality !== "original" &&
|
||||
map.resolutions[map.quality]
|
||||
) {
|
||||
mapSourceMap = map.resolutions[map.quality];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user