change event dispatcher
This commit is contained in:
@@ -115,7 +115,7 @@ var PuzzleGame4 = function(context, gltf, w, h){
|
||||
d:1+0.1*i
|
||||
})
|
||||
})
|
||||
this.onfinish && this.onfinish();
|
||||
this.dispatchEvent({type:'finish'})
|
||||
//context.dashboard.addPoints(10);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user