v0.2.3c: fixed a bug where collecting bags would sometimes result in save failures (this is the elusive save-fail on floor 6 bug, got it!)

This commit is contained in:
Evan Debenham 2015-01-08 20:42:17 -05:00
parent b52a97567a
commit 28098abea4

View File

@ -193,7 +193,7 @@ public class Badges {
private static void store( Bundle bundle, HashSet<Badge> badges ) {
int count = 0;
String names[] = new String[global.size()];
String names[] = new String[badges.size()];
for (Badge badge:badges) {
names[count++] = badge.toString();