@gamelearn/arcade-components 0.27.0 → 0.27.1

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.
@@ -125,7 +125,7 @@ var ConversationProViewer = function ConversationProViewer(_ref) {
125
125
  while (1) {
126
126
  switch (_context.prev = _context.next) {
127
127
  case 0:
128
- if (!currentLineData.voice.id) {
128
+ if (!(currentLineData.voice.id && currentMessage)) {
129
129
  _context.next = 7;
130
130
  break;
131
131
  }
@@ -156,7 +156,7 @@ var ConversationProViewer = function ConversationProViewer(_ref) {
156
156
  }
157
157
  }
158
158
  }, _callee);
159
- })), [currentLineData.voice, currentMessage.text, getVoice, playSound]); // Recupera la antigua linea de la conversacion para conservar los personajes en voice-over
159
+ })), [currentLineData.voice, currentMessage, getVoice, playSound]); // Recupera la antigua linea de la conversacion para conservar los personajes en voice-over
160
160
 
161
161
  var leftWithSlots = lines.slice(0, currentLine + 1).reverse().find(function (line) {
162
162
  return line.slots;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gamelearn/arcade-components",
3
3
  "license": "Gamelearn",
4
- "version": "0.27.0",
4
+ "version": "0.27.1",
5
5
  "main": "dist/index.js",
6
6
  "files": [
7
7
  "dist",