From 571d015c280ca31eeaad794ca7113e0dc7064360 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Thu, 6 Oct 2022 17:49:33 +0200 Subject: [PATCH] Fix #109 IDR dice --- modules/pegasus-actor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/pegasus-actor.js b/modules/pegasus-actor.js index 3e8ac25..2314934 100644 --- a/modules/pegasus-actor.js +++ b/modules/pegasus-actor.js @@ -195,7 +195,7 @@ export class PegasusActor extends Actor { return comp; } getVehicleWeaponModules() { - let comp = this.items.filter(item => item.type == 'vehicleweaponmodule'); + let comp = this.items.filter(item => item.type == 'vehicleweaponmodule' && item.system.activated); return comp; }