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

Commit

Permalink
Fix condition for package installer (#696)
Browse files Browse the repository at this point in the history
  • Loading branch information
FejZa authored Nov 25, 2020
1 parent da51656 commit 1ef0810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Editor/PackageInstaller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ private static void AddConfigurations(List<string> profiles)
// Only if a root profile is available at all it makes sense to display the
// platform configuration import dialog. If the user does not have a root profile yet,
// for whatever reason, there is nothing we can do here.
if (rootProfile.IsNull())
if (!rootProfile.IsNull())
{
if (EditorUtility.DisplayDialog("We found a new Platform Configuration",
$"We found the {platformConfigurationProfile.name.ToProperCase()}. Would you like to add this platform configuration to your {rootProfile.name}?",
Expand Down

0 comments on commit 1ef0810

Please sign in to comment.