Fix bug with custom token loading

This commit is contained in:
Mitchell McCaffrey 2020-07-17 16:13:29 +10:00
parent 6a0603feb5
commit e974c19bc4

View File

@ -181,7 +181,7 @@ function NetworkedMapAndTokens({ session }) {
sentTokens[tokenState.tokenId] = true;
// Omit file from token peer will request file if needed
const { file, ...rest } = token;
tokens.add(rest);
tokens.push(rest);
}
}
return tokens;