diff --git a/hmm.json b/hmm.json index 84510a05a..218ab9973 100644 --- a/hmm.json +++ b/hmm.json @@ -65,10 +65,10 @@ "version": "2.5.0" }, { - "name": "hxcodec", + "name": "hxCodec", "type": "git", "dir": null, - "ref": "14ef69f", + "ref": "166ff82", "url": "https://github.com/polybiusproxy/hxCodec" }, { diff --git a/source/funkin/play/cutscene/VideoCutscene.hx b/source/funkin/play/cutscene/VideoCutscene.hx index fe0cf9bbb..652ca0287 100644 --- a/source/funkin/play/cutscene/VideoCutscene.hx +++ b/source/funkin/play/cutscene/VideoCutscene.hx @@ -92,14 +92,14 @@ class VideoCutscene if (vid != null) { vid.zIndex = 0; - vid.onEndReached.add(finishVideo.bind(0.5)); + vid.bitmap.onEndReached.add(finishVideo.bind(0.5)); vid.cameras = [PlayState.instance.camCutscene]; PlayState.instance.add(vid); PlayState.instance.refresh(); - vid.playVideo(filePath, false); + vid.play(filePath, false); } else {