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

Commit

Permalink
always return true if editor platform is defined (#600)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHodgson authored May 19, 2020
1 parent 58ee11c commit 4aa01ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Runtime/Definitions/Platforms/CurrentBuildTargetPlatform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ public static bool IsBuildTargetActive(List<IMixedRealityPlatform> platforms)
{
case AllPlatforms _:
return true;
case EditorPlatform _:
return true;
case CurrentBuildTargetPlatform _:
isEditorPlatformActive = platform.IsAvailable;
break;
Expand Down

0 comments on commit 4aa01ef

Please sign in to comment.