diff --git a/P3D/Battle/BattleSystemV2/BattleCameraV2.vb b/P3D/Battle/BattleSystemV2/BattleCameraV2.vb index cc41db63b..2a817c7c3 100644 --- a/P3D/Battle/BattleSystemV2/BattleCameraV2.vb +++ b/P3D/Battle/BattleSystemV2/BattleCameraV2.vb @@ -214,15 +214,7 @@ End Function Private Function GetBattleMapOffset() As Vector3 - Dim v As New Vector3(0) - Dim s As Screen = Core.CurrentScreen - While s.Identification <> Screen.Identifications.BattleScreen And Not s.PreScreen Is Nothing - s = s.PreScreen - End While - If s.Identification = Screen.Identifications.BattleScreen Then - v = CType(s, BattleScreen).BattleMapOffset - End If - Return v + Return BattleScreen.BattleMapOffset End Function Public Overrides ReadOnly Property CPosition() As Vector3