Skip to content

Commit

Permalink
Relax settings confict check.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaser324 committed Apr 22, 2016
1 parent 760d872 commit 5121667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Editor/Build/BuildProject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ private static void DisableAllPlatforms()
/// <param name="settings"></param>
public static void RegisterSettings(BuildSettings settings)
{
if (BuildProject.settings != null)
if (BuildProject.settings != null && BuildProject.settings.GetType() != settings.GetType())
Debug.LogError("Multiple BuildSettings classes. There can be only one!");

BuildProject.settings = settings;
Expand Down

0 comments on commit 5121667

Please sign in to comment.