Skip calling SetTime api if start time is unused #2203

This commit is contained in:
Wojtek Figat
2024-02-06 10:59:55 +01:00
parent cff047998c
commit f9448c3b42

View File

@@ -548,6 +548,7 @@ void AudioSource::BeginPlay(SceneBeginData* data)
return;
#endif
Play();
if (GetStartTime() > 0)
SetTime(GetStartTime());
}
}