Skip to content

Commit

Permalink
Bug fix for https://bugs.launchpad.net/or/+bug/2047299 Crash loading …
Browse files Browse the repository at this point in the history
…a 3Dcab-only loco
  • Loading branch information
Csantucci committed Dec 24, 2023
1 parent 362e836 commit 0e0aa8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/RunActivity/Viewer3D/Viewer.cs
Expand Up @@ -140,7 +140,7 @@ public class Viewer
/// </summary>
public void ActivateCabCamera()
{
if (Settings.Use3DCab && ThreeDimCabCamera.IsAvailable)
if (ThreeDimCabCamera.IsAvailable)
ThreeDimCabCamera.Activate();
else
CabCamera.Activate();
Expand Down

0 comments on commit 0e0aa8b

Please sign in to comment.