Update vehicles to move attachments

This commit is contained in:
Mitchell McCaffrey 2021-08-06 12:13:24 +10:00
parent d6d8ee2f11
commit 6e7794c38e

View File

@ -107,7 +107,9 @@ function Token({
// Find all other characters on the map and check whether they're
// intersecting the vehicle
const tokens = layer.find(".character");
const characters = layer.find(".character");
const attachments = layer.find(".attachment");
const tokens = [...characters, ...attachments];
for (let other of tokens) {
if (other === tokenGroup) {
continue;