Skip to content

Commit

Permalink
Update GPGSAndroidSetupUI.cs
Browse files Browse the repository at this point in the history
1) Changed the hard-coded dictionary key "ConstDir" which is always returning the default value "Assets". It seems like that key is no longer present in GPGSUtil.

2) Added the default value for mClassName which is "GPGSIds".
  • Loading branch information
Mavicus authored Jun 23, 2016
1 parent d949b45 commit 8c42eb0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ public static bool PerformSetup(string webClientId, string appId,
public void OnEnable()
{
GPGSProjectSettings settings = GPGSProjectSettings.Instance;
mConstantDirectory = settings.Get("ConstDir", mConstantDirectory);
mClassName = settings.Get(GPGSUtil.CLASSNAMEKEY);
mConstantDirectory = settings.Get(GPGSUtil.CLASSDIRECTORYKEY, mConstantDirectory);
mClassName = settings.Get(GPGSUtil.CLASSNAMEKEY, mClassName);
mConfigData = settings.Get(GPGSUtil.ANDROIDRESOURCEKEY);
mWebClientId = settings.Get(GPGSUtil.WEBCLIENTIDKEY);
mRequiresGooglePlus = settings.GetBool(GPGSUtil.REQUIREGOOGLEPLUSKEY, false);
Expand Down

0 comments on commit 8c42eb0

Please sign in to comment.