More eye lerping changes (#11436)

This commit is contained in:
Leon Friedrich
2022-09-21 22:40:24 +12:00
committed by GitHub
parent e27ff28063
commit e61c7044ff
3 changed files with 93 additions and 108 deletions

View File

@@ -115,6 +115,12 @@ public sealed class SurveillanceCameraMonitorBoundUserInterface : BoundUserInter
{
base.Dispose(disposing);
if (_currentCamera != null)
{
_eyeLerpingSystem.RemoveEye(_currentCamera.Value);
_currentCamera = null;
}
if (disposing)
{
_window?.Dispose();