Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Commit

Permalink
Fix NRE thrown by changing predicate order (#654)
Browse files Browse the repository at this point in the history
  • Loading branch information
FejZa authored Jul 25, 2020
1 parent 5a44237 commit ed50da5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Runtime/Providers/CameraSystem/BaseCameraDataProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ public override void Disable()
{
base.Disable();

if (CameraRig.GameObject.IsNull() ||
CameraRig == null)
if (CameraRig == null ||
CameraRig.GameObject.IsNull())
{
return;
}
Expand Down

0 comments on commit ed50da5

Please sign in to comment.