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

Commit

Permalink
Make sure we ping the cloned profile (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHodgson authored and SimonDarksideJ committed Oct 1, 2019
1 parent 7633fc1 commit a2ee69b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ protected static async void CreateCloneProfile()
{
profileToCopy = profile;
var newProfile = CreateInstance(profile.GetType().ToString());
profile = newProfile.CreateAsset(false) as BaseMixedRealityProfile;
profile = newProfile.CreateAsset() as BaseMixedRealityProfile;
Debug.Assert(profile != null);

await new WaitUntil(() => profileToCopy != profile);
Expand Down

0 comments on commit a2ee69b

Please sign in to comment.