@gamelearn/arcade-components 1.7.0 → 1.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -363,7 +363,7 @@ var DialogComponent = function DialogComponent(_ref) {
363
363
  resetCameraView();
364
364
  setCurrentMessage({
365
365
  text: currentLine.text,
366
- name: currentLine.alias || "[ ".concat(translate('storylines.misc.voiceOver'), " ]"),
366
+ name: currentLine.alias || currentLine.name || "[ ".concat(translate('storylines.misc.voiceOver'), " ]"),
367
367
  left: false,
368
368
  inScene: false,
369
369
  voiceOver: true,
@@ -472,7 +472,7 @@ var DialogComponent = function DialogComponent(_ref) {
472
472
  resetCameraView();
473
473
  setCurrentMessage({
474
474
  text: talkingCharacter.text,
475
- name: talkingCharacter.alias || ((_talkingCharacter$cha2 = talkingCharacter.character) === null || _talkingCharacter$cha2 === void 0 ? void 0 : _talkingCharacter$cha2.name) || object.name,
475
+ name: talkingCharacter.alias || ((_talkingCharacter$cha2 = talkingCharacter.character) === null || _talkingCharacter$cha2 === void 0 ? void 0 : _talkingCharacter$cha2.name) || (object === null || object === void 0 ? void 0 : object.name),
476
476
  left: false,
477
477
  top: talkingCharacter.text.length > maxCharacterToSwitch,
478
478
  inScene: false,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@gamelearn/arcade-components",
3
3
  "author": "Gamelearn",
4
4
  "license": "unlicense",
5
- "version": "1.7.0",
5
+ "version": "1.7.2",
6
6
  "main": "dist/index.js",
7
7
  "files": [
8
8
  "dist",