only do achievement map check on debug

This commit is contained in:
Ellpeck 2020-07-26 14:35:08 +02:00
parent caa40f1160
commit efbf197e72

View file

@ -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) {