Skip to content

Commit c08b691

Browse files
JohannesLootkirre-bylund
authored andcommitted
Updating after domainkey is set
1 parent ac00c40 commit c08b691

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Runtime/Editor/Editor UI/LootLockerAdminExtension.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,13 +609,14 @@ void OnGameSelected(EventBase e)
609609

610610
LootLockerAdminManager.GetGameDomainKey(LootLockerEditorData.GetSelectedGame(), (onComplete) =>
611611
{
612-
EditorApplication.update -= OnEditorUpdate;
613612
if (!onComplete.success)
614613
{
615614
ShowPopup("Error", "Could not find Selected game!");
615+
EditorApplication.update -= OnEditorUpdate;
616616
return;
617617
}
618618
LootLockerConfig.current.domainKey = onComplete.game.domain_key;
619+
EditorApplication.update -= OnEditorUpdate;
619620
});
620621

621622

0 commit comments

Comments
 (0)