Update vehicles to move attachments
This commit is contained in:
parent
d6d8ee2f11
commit
6e7794c38e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user