Commit 01152604 authored by Tt's avatar Tt

1

parent c1833d42
This diff is collapsed.
......@@ -808,7 +808,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 获取最后一次录音数据
const lastVoice = Game.getIns().player.getLastVoice();
if (lastVoice.questionId != this.touchData.id) {
if (!lastVoice || lastVoice.questionId != this.touchData.id) {
this.onFireFail();
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment