diff --git a/Source/VAPlugin/Private/SignalSources/VAAudiofileSignalSource.cpp b/Source/VAPlugin/Private/SignalSources/VAAudiofileSignalSource.cpp index 1db66181906ac86bde89566999ac87feb0df27b8..c9b838ec70a7b29b3a3c8426dece1618ea0ba1f2 100644 --- a/Source/VAPlugin/Private/SignalSources/VAAudiofileSignalSource.cpp +++ b/Source/VAPlugin/Private/SignalSources/VAAudiofileSignalSource.cpp @@ -147,6 +147,10 @@ bool UVAAudiofileSignalSource::SetPlayBackPosition(const float Time) bool UVAAudiofileSignalSource::SetPlayAction(const int Action) { + if (!bInitialized) + { + return false; + } InterallyStoredPlayAction = Action; StorePlayStateInternallyEvent.Send(Action); //also send this to all slaves, so potentially still pending send numbers from GetPlayAction are overwritten