Sfoglia il codice sorgente

Merge pull request #5007 from Poolminer/patch-1

Update babylon.action.ts
David Catuhe 7 anni fa
parent
commit
51efd3b9c3
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      src/Actions/babylon.action.ts

+ 2 - 0
src/Actions/babylon.action.ts

@@ -37,6 +37,8 @@
             if (triggerOptions.parameter) {
                 this.trigger = triggerOptions.trigger;
                 this._triggerParameter = triggerOptions.parameter;
+            } else if(triggerOptions.trigger) {
+                this.trigger = triggerOptions.trigger;
             } else {
                 this.trigger = triggerOptions;
             }