checking for file?

This commit is contained in:
Ariel Manzur 2016-01-24 01:59:55 -03:00
parent 3732688231
commit 5b68608b10
1 changed files with 3 additions and 0 deletions

View File

@ -489,6 +489,9 @@ Ref<Texture> VideoStreamPlaybackTheora::get_texture() {
void VideoStreamPlaybackTheora::update(float p_delta) {
if (!file)
return;
if (!playing || paused) {
//printf("not playing\n");
return;