Commit f586cc23 authored by Tt's avatar Tt

1

parent 0df85028
...@@ -38,7 +38,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -38,7 +38,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.initData() this.initData()
this.initView() this.initView()
this.initEvent() this.initEvent()
pg.event.on('npc_voice_play_voice_end', () => { pg.event.once('npc_voice_play_voice_end', () => {
this.initGame() this.initGame()
}) })
pg.event.emit('npc_layer_back_init', this.data) pg.event.emit('npc_layer_back_init', this.data)
......
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