mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
Update module/data/fields/action/summonField.mjs
Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
This commit is contained in:
parent
379398f2c7
commit
4c860a3239
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ export default class DHSummonField extends fields.ArrayField {
|
|||
summon.actor = result.actor;
|
||||
|
||||
summon.count--;
|
||||
if (summon.count === 0) {
|
||||
if (summon.count <= 0) {
|
||||
summonIndex++;
|
||||
if (summonIndex === summonData.length) return actionActor.sheet?.maximize();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue