only do achievement map check on debug
This commit is contained in:
parent
caa40f1160
commit
efbf197e72
1 changed files with 2 additions and 0 deletions
|
@ -89,10 +89,12 @@ namespace Android {
|
|||
.Build();
|
||||
this.GoogleApi.Connect();
|
||||
|
||||
#if DEBUG
|
||||
// Sanity check to ensure that all achievements are mapped
|
||||
foreach (var achievement in Achievement.Achievements.Values) {
|
||||
var _ = AchievementIds[achievement.Name];
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
public override void AddResourceEvent(bool sink, string currency, float amount, string itemType, string itemId) {
|
||||
|
|
Loading…
Reference in a new issue