Replace Remove with DequeueCameraVolume
This commit is contained in:
parent
aaf94c7d57
commit
21fa28b640
|
@ -37,7 +37,7 @@ void UCameraManagerSubsystem::RemoveCameraVolume(ACameraVolume* CameraVolume)
|
||||||
{
|
{
|
||||||
if (CameraVolume == CurrentCameraVolume)
|
if (CameraVolume == CurrentCameraVolume)
|
||||||
{
|
{
|
||||||
CameraVolumeQueue.Remove(CameraVolume);
|
DequeueCameraVolume(CameraVolume);
|
||||||
CurrentCameraVolume->SetIsActive(false);
|
CurrentCameraVolume->SetIsActive(false);
|
||||||
CurrentCameraVolume = nullptr;
|
CurrentCameraVolume = nullptr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue