feat(map): share canonical Foundry presentation
This commit is contained in:
@@ -103,7 +103,10 @@ export async function fetchMapRuntimeConfiguration(
|
||||
!isRecord(document.assets) ||
|
||||
document.assets.imagery !== 2 ||
|
||||
document.assets.terrain !== 1 ||
|
||||
document.assets.buildings !== 96188
|
||||
document.assets.buildings !== 96188 ||
|
||||
(document.sandbox !== undefined &&
|
||||
(!isRecord(document.sandbox) ||
|
||||
typeof document.sandbox.hide_credit_overlay !== "boolean"))
|
||||
) {
|
||||
throw new MapRuntimeError("map_runtime_contract_mismatch");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user