Replace Remove with DequeueCameraVolume

This commit is contained in:
baz 2024-06-06 03:02:49 +01:00
parent aaf94c7d57
commit 21fa28b640
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ void UCameraManagerSubsystem::RemoveCameraVolume(ACameraVolume* CameraVolume)
{
if (CameraVolume == CurrentCameraVolume)
{
CameraVolumeQueue.Remove(CameraVolume);
DequeueCameraVolume(CameraVolume);
CurrentCameraVolume->SetIsActive(false);
CurrentCameraVolume = nullptr;
}