Fix bug with asset manifest not including other users custom assets
This commit is contained in:
parent
d996a81c96
commit
78461cb62f
@ -69,13 +69,12 @@ function NetworkedMapAndTokens({ session }) {
|
||||
const { owner } = map;
|
||||
let processedTokens = new Set();
|
||||
for (let tokenState of Object.values(mapState.tokens)) {
|
||||
if (
|
||||
tokenState.file &&
|
||||
!processedTokens.has(tokenState.file) &&
|
||||
tokenState.owner === owner
|
||||
) {
|
||||
if (tokenState.file && !processedTokens.has(tokenState.file)) {
|
||||
processedTokens.add(tokenState.file);
|
||||
assets[tokenState.file] = { id: tokenState.file, owner };
|
||||
assets[tokenState.file] = {
|
||||
id: tokenState.file,
|
||||
owner: tokenState.owner,
|
||||
};
|
||||
}
|
||||
}
|
||||
if (map.type === "file") {
|
||||
|
Loading…
Reference in New Issue
Block a user