浏览代码

Fix incorrect virtual function in `VideoStream.set_paused`

Ninni Pipping 2 年之前
父节点
当前提交
2284689b0e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scene/resources/video_stream.cpp

+ 1 - 1
scene/resources/video_stream.cpp

@@ -75,7 +75,7 @@ bool VideoStreamPlayback::is_playing() const {
 }
 
 void VideoStreamPlayback::set_paused(bool p_paused) {
-	GDVIRTUAL_CALL(_is_playing, p_paused);
+	GDVIRTUAL_CALL(_set_paused, p_paused);
 }
 
 bool VideoStreamPlayback::is_paused() const {