diff --git a/src/components/scenes/room/dialog-manager/dialog-manager.js b/src/components/scenes/room/dialog-manager/dialog-manager.js index 0cfaff8..712a962 100644 --- a/src/components/scenes/room/dialog-manager/dialog-manager.js +++ b/src/components/scenes/room/dialog-manager/dialog-manager.js @@ -30,7 +30,8 @@ class DialogManager { executeAction(action) { action.executeSetters(); - action.callback && action.callback(); + const cb = action.callback; + cb && cb(); if (action.next) { this._narrationIndex = action.next;